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_params function

Returns the number of parameters that are expected for a prepared statement.

sacapi_i32 sqlany_num_params( a_sqlany_stmt * stmt )
  • stmt   A statement object returned by the successful execution of sqlany_prepare.


The expected number of parameters, or -1 if the statement object is not valid.

See also