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 服务器 - 编程 » SQL Anywhere 数据访问 API » SQL Anywhere C API 参考 » sacapi.h

 

sqlany_get_bind_param_info 函数

检索使用 sqlany_bind_param 绑定的参数的相关信息。

语法
sacapi_bool sqlany_get_bind_param_info( a_sqlany_stmt * stmt, sacapi_u32 index,
  a_sqlany_bind_param_info * info )
参数
  • stmt   使用 sqlany_prepare 成功预准备的语句。

  • index   参数的索引。该数字必须在 0 到 sqlany_num_params() - 1 之间。

  • info   将在其中填充绑定参数信息的 sqlany_bind_param_info 缓冲区。

返回值

成功则为 1,失败则为 0。

另请参见