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

SQL Anywhere 11.0.1 (Français) » 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.

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

Returns

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

See also