ODBC_SQLGetTypeInfo

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

version 2004


ODBC_SQLGetTypeInfo (stmtID; dataType) Longint

ParameterTypeDescription
stmtIDLongintStatement ID
dataTypeLongintSQL data type
Function resultLongintReturns the result of the MS ODBC API function
SQLGetTypeInfo

Description

The ODBC_SQLGetTypeInfo command returns information about data types supported by the data source. The driver returns the information in the form of an SQL result set. The data types are intended for use in Data Definition Language (DDL) statements.

stmtID is a valid statement ID returned by ODBC_SQLAllocStmt.

dataType is the SQL data type, such as the constant SQL_ALL_TYPES, which is equal to 0.

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

Function Results

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, 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