Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
检索当前的 SQLSTATE。
public size_t sqlany_sqlstate( a_sqlany_connection * sqlany_conn, char * buffer, size_t size )
sqlany_conn 从 sqlany_new_connection() 返回的连接对象。
buffer 将在其中填充当前 5 字符 SQLSTATE 状态的缓冲区。
size 缓冲区大小。
复制到缓冲区中的字节数。
有关 SQLSTATE 错误消息的详细信息,请参见按 SQLSTATE 排序的 SQL Anywhere 错误消息。