CODBC.NativeSqlmethod
Returns the SQL string as modified by the driver. NativeSql does not execute the SQL statement.
Syntax
FUNCTION NativeSql (BYREF wszInText AS WSTRING) AS DWSTRING
Parameters
| Name | Description | |
|---|---|---|
wszInText | SQL text string to be translated. |
Return value
The SQL string as modified by the driver.
Result code (GetLastResult)
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
Description
Returns the SQL string as modified by the driver. NativeSql does not execute the SQL statement.
Reference
- Include file
CODBCDbc.inc - Defined in AfxNova/COdbcDbc.inc:151
- Documented in Databases/ODBC Classes/CODBC Class.md
- Topic: ODBC Classes