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