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 )