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 及 C++ 编程 » API 参考 » UltraLite C++ API 参考 » UltraLite_PreparedStatement_iface 类

 

SetParameter 函数

设置 SQL 语句的参数。

语法
void UltraLite_PreparedStatement_iface::SetParameter(
  ul_column_num parameter_id,
  ULValue const & value
)
参数
  • parameter_id   从 1 开始的参数序号。

  • value   要设置参数的值。