|
||||||||||
|
||||||||||
Related Syntax | Other Library Functions |
function | SQLGetTypeInfo |
![]() |
Library: omodbc - low-level ODBC support
Include: omodbc.xin |
Return type: Integer Returns: An SQL return code. The following values may be returned:
|
define external integer function SQLGetTypeInfo ( read-only SQL_handle_type StatementHandle, value integer DataType )
Returns information about data types supported by the data source in the form of an SQL result set. The data types are intended for use in Data Definition Language (DDL) statements.
Important: Applications must use the type names returned in the TYPE_NAME column in ALTER TABLE and CREATE TABLE statements. The SQLGetTypeInfo
function may return more than one row with the same value in the DATA_TYPE column.
Input arguments:
---- |