Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere C API reference » sacapi.h

 

sqlany_sqlstate function

Retrieves the current SQL state.

Syntax
size_t sqlany_sqlstate( a_sqlany_connection * conn, char * buffer, size_t size )
Parameters
  • conn   A connection object returned from sqlany_new_connection.

  • buffer   A buffer to be filled with the current 5-character SQL state.

  • size   The buffer size.

Returns

The number of bytes copied into the buffer.

See also