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 for Ruby » SQL Anywhere Ruby API

 

sqlany_sqlstate

Retrieves the current SQL state.

Syntax
sqlany_sqlstate ( $conn )
Parameters
  • $conn   A connection object returned from sqlany_new_connection.

Returns

Returns a scalar value that is the current 5-character SQL state.

See also
Example
sql_state = api.sqlany_sqlstate( conn )