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

Binds a user-supplied buffer as a parameter to the prepared statement.

sacapi_bool sqlany_bind_param( a_sqlany_stmt * stmt, sacapi_u32 index, a_sqlany_bind_param * param )
  • stmt   A statement prepared successfully using sqlany_prepare.

  • index   The index of the parameter. The number must be between 0 and sqlany_num_params() - 1.

  • param   An a_sqlany_bind_param structure description of the parameter to be bound.


1 when successful or 0 when unsuccessful.

See also