ODBC_SQLNativeSql

4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next

version 2004


ODBC_SQLNativeSql (connectionID; inStatementText; outStatementText) Longint

ParameterTypeDescription
connectionIDLongintConnection ID
inStatementTextTextSQL text string to be translated
outStatementTextTextTranslated SQL string
Function resultLongintReturns the result of the MS ODBC API function
SQLNativeSql

Description

The ODBC_SQLNativeSql command returns the SQL string as modified by the driver but does not execute the SQL statement.

connectionID is a valid connection ID returned by ODBC_SQLAllocConnect and a connection must be established using the ODBC_SQLConnect command.

inStatementText is the SQL text string to be translated.

outStatementText is the translated SQL string.

For more information, please see the SQLNativeSql function in the MS ODBC API at http://msdn.microsoft.com/library/en-us/odbc/htm/odbcsqlnativesql.asp.

Function Results

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.


4D - Documentation   Français   English   German   4D ODBC PRO, Command Theme List   4D ODBC PRO, Command Alphabetical List   Back   Previous   Next