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_execute_immediate 函数

立即执行指定的 SQL 语句,不返回结果集。

语法
sacapi_bool sqlany_execute_immediate( a_sqlany_connection * conn, const char * sql )
参数
  • conn   已使用 sqlany_connect 建立连接的连接对象。

  • sql   表示要执行的 SQL 语句的字符串。

返回值

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

另请参见