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

检索当前的 SQL 状态。

语法
size_t sqlany_sqlstate( a_sqlany_connection * conn, char * buffer, size_t size )
参数
  • conn   从 sqlany_new_connection 返回的连接对象。

  • buffer   将在其中填充当前 5 字符 SQL 状态的缓冲区。

  • size   缓冲区大小。

返回值

复制到缓冲区中的字节数。

另请参见