Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - C and C++ Programming » UltraLite ODBC API Reference

SQLConnect function Next Page

SQLDescribeCol function


Returns the result descriptor for a column in the result set, for UltraLite ODBC.

The result descriptor includes the column name, column size, data type, number of decimal digits, and nullability.

Syntax

UL_FN_SPEC SQLRETURN UL_FN_MOD SQLDescribeCol (
SQLHSTMT StatementHandle,
SQLUSMALLINT ColumnNumber,
SQLTCHAR * ColumnName,
SQLSMALLINT BufferLength,
SQLSMALLINT * NameLength,
SQLSMALLINT * DataType,
SQLULEN * ColumnSize,
SQLSMALLINT * DecimalDigits,
SQLSMALLINT * Nullable );

Parameters
See also