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

SQL Anywhere 11.0.1 » UltraLite - C and C++ Programming » API Reference » UltraLite C++ API reference » UltraLite_PreparedStatement_iface class


SetParameter function

Sets a parameter for the SQL statement.

void UltraLite_PreparedStatement_iface::SetParameter(
  ul_column_num parameter_id,
  ULValue const & value
  • parameter_id   The 1-based ordinal of the parameter.

  • value   The value to set the parameter.