4D v13

ODBC_SQLGetTypeInfo

Home

 
4D v13
ODBC_SQLGetTypeInfo

ODBC_SQLGetTypeInfo 


 

ODBC_SQLGetTypeInfo ( stmtID ; dataType ) -> Function result 
Parameter Type   Description
stmtID  Longint in Statement ID
dataType  Longint in SQL data type
Function result  Longint in Returns the result of the MS ODBC API function SQLGetTypeInfo

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

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE.

 
PROPERTIES 

Product: 4D
Theme: ODBC_Catalog functions
Number: 16986

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D ODBC Pro 2004