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

SQL Anywhere 11.0.1 (中文) » UltraLite - C 及 C++ 编程 » API 参考 » UltraLite ODBC API 参考

 

SQLNumResultCols 函数

在 UltraLite ODBC 中,此函数用于返回结果集中的列数。

语法
UL_FN_SPEC SQLRETURN UL_FN_MOD SQLNumResultCols (
SQLHSTMT StatementHandle,
SQLSMALLINT * ColumnCount );
参数
  • StatementHandle   语句句柄。

  • ColumnCount   指向缓冲区的指针,在该缓冲区中返回结果集中的总列数。