4D v13

ODBC_SQLNativeSql

Home

 
4D v13
ODBC_SQLNativeSql

ODBC_SQLNativeSql 


 

ODBC_SQLNativeSql ( connectionID ; inStatementText ; outStatementText ) -> Function result 
Parameter Type   Description
connectionID  Longint in Connection ID
inStatementText  Text in SQL text string to be translated
outStatementText  Text in Translated SQL string
Function result  Longint in Returns the result of the MS ODBC API function SQLNativeSql

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 Reference at http://msdn.microsoft.com/en-us/library/ms714575(VS.85).aspx.

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.

 
PROPERTIES 

Product: 4D
Theme: ODBC_Submit requests
Number: 16969

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D ODBC Pro 2004