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

Sends data as part of a bound parameter.

Syntax
sacapi_bool sqlany_send_param_data( a_sqlany_stmt * stmt, sacapi_u32 index,
  char *  buffer,  size_t  size )
Parameters
  • stmt   A statement prepared successfully using sqlany_prepare.

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

  • buffer   The data to be sent.

  • size   The number of bytes to send.

Returns

1 on success or 0 on failure.

See also