EN 800 documents

Engine Help Category: SQL

Filtered overview of the Engine Help documentation.

← Back to Engine Help overview

23 documents found

@CheckHandle

Function Version 1.90

Checks whether VIEWHANDLE/NOTEHANDLE/DBHANDLE/FILEHANDLE... VIEWHANDLE1/NOTEHANDLE1/DBHANDLE1/FILEHANDLE1... is an open handle. If yes, TRUE returned, otherwise FALSE. FILEHANDLE can only be checked as of version 1.93.

@MySQLClose

Function Version 5.00

Closes a VSPECMYSQL MySQLHandle. The VSPECMYSQL MySQLHandle is returned by @MySQLInit. Return: On success, a closed VSPECMYSQL MySQLHandle; otherwise @Error.

@MySQLClosePreparedStatement

Function Version 5.00

Closes a MySQLPreparedStatementHandle. Return: On success, a closed PreparedStatement handle; otherwise, @Error.

@MySQLConnect

Function Version 5.00

Establishes a connection to the MySQL server. Should be called after @MySQLoptions. The VSPECMYSQL MySQLHandle is provided by @MySQLInit. TEXT Host (for local "" (NULLSTR)) TEXT User (may also be "" (NULLSTR)) TEXT Passw …

@MySQLCreatePreparedStatement

Function Version 5.00

Creates a PreparedStatement query. Such a query represents a kind of template that can then be completed with data to form a complete query and executed. This function is intended for repeated execution of similar querie …

@MySQLExecutePreparedStatement

Function Version 5.00

Executes a prepared query using the MySQLPreparedStatementHandle. After the handle, the parameters are specified in the order corresponding to the query. Return: TRUE on success, otherwise @Error. WARNING: The MySQLPrepa …

@MySQLFetchColumn

Function Version 5.00

Retrieves a column from the stored result of an @MySQLQuery request. The column number is specified in FN FNColumnNumber. If the optional parameter FN FNVPR is specified, the result is additionally returned in the variab …

@MySQLFetchColumnLocalTD

Function Version 5.00

Retrieves a column from the stored result of an @MySQLQuery request. The column number is specified in FN FNColumnNumber. Time values are converted to the local time zone. (This is a workaround function for time zone iss …

@MySQLFetchRow

Function Version 5.00

Fetches one row from the current position (see @MySQLSeekResult) of a stored result of a @MySQLQuery query. The VSPECMYSQLRES MySQLResultHandle is provided by @MySQLQuery. After the current row has been retrieved using t …

@MySQLFreeResult

Function Version 5.00

Deletes a stored result of an @MySQLQuery request. The VSPECMYSQLRES MySQLResultHandle is returned by @MySQLQuery. Return: On success, a closed VSPECMYSQLRES MySQLResultHandle is returned; otherwise @Error;

@MySQLGetAffectedRows

Function Version 5.00

Returns the number of rows affected by the last @MySQLQuery call. This function should be called immediately after @MySQLQuery and with the MySQLResultHandle variable, or, if no result is retrieved, with the MySQLHandle …

@MySQLGetAffectedRowsPreparedStatement

Function Version 5.00

If the query contains an INSERT, UPDATE, or DELETE statement, the number of rows affected by this statement is returned. Return: On error, @Error; otherwise, the retrieved value.

@MySQLGetFieldDef

Function Version 5.00

Returns detailed information about a field definition (for a column) in the stored result of an @MySQLQuery request. The field number is specified in FN FieldIndex, starting with 0. RetName TEXT Name of the field. RetTyp …

@MySQLGetInsertID

Function Version 5.00

Returns the generated ID of an AUTOINCREMENT ID column if the last @MySQLQuery call generated such an AUTOINCREMENT ID. This function should be called immediately after @MySQLQuery and with the same MySQLHandle variable. …

@MySQLGetLastInsertIDPreparedStatement

Function Version 5.00

If the query contains an INSERT statement and affects an AUTO_INCREMENT ID column, the generated ID is returned. Return: On error, @Error; otherwise, the retrieved value.

@MySQLGetNumFields

Function Version 5.00

Returns the number of fields (columns) in the stored result of an @MySQLQuery or @MySQLExecutePreparedStatement request. Return: On success, the number of fields; otherwise, @Error.

@MySQLGetNumRows

Function Version 5.00

Returns the number of rows of a stored result of a @MySQLQuery or @MySQLExecutePreparedStatement query. Return: On success FN Count, otherwise @Error;

@MySQLInit

Function Version 5.00

Initializes MySQL and returns a VSPECMYSQL MySQLHandle; this is required by other MySQL @Functions. Return: On success, returns a VSPECMYSQL MySQLHandle, otherwise @Error;

@MySQLOptions

Function Version 5.00

Sets the options. Should be called after @MySQLInit. Currently, only the option MYSQL_READ_DEFAULT_GROUP is set. If only one parameter is specified, this value is set to "engine"; otherwise it is set to the specified TEX …

@MySQLQuery

Function Version 5.00

Executes a MySQL query. If the query returns a result, it can be stored in the VSPECMYSQLRES MySQLResultHandle. If the query contains an INSERT statement and it affects an AUTOINCREMENT ID column, the generated ID is ret …

@MySQLSeekResult

Function Version 5.00

Sets the current position, respectively row, in a stored result of an @MySQLQuery request. WARNING: Counting starts at 0! Return: TRUE on success, otherwise @Error.

@MySQLThreadEnd

Function Version 5.00

This @Function must be called before a thread is terminated! NOTE: This @Function releases the MySQL context! After calling @MySQLThreadEnd, no further MySQL functions may be called.

@MySQLThreadInit

Function Version 5.00

Initializes a thread for MySQL. @MySQLInit or @MySQLConnect also initialize a thread. Note : This text was machine-translated and may contain inaccuracies.