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

SQL Anywhere 11.0.1 » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere C API reference » sacapi.h


sqlany_num_cols function

Returns number of columns in the result set.

sacapi_i32 sqlany_num_cols( a_sqlany_stmt * stmt )
  • stmt   A statement object created by sqlany_prepare or sqlany_execute_direct.


The number of columns in the result set, or -1 on a failure.

See also