Retrieves the current SQLSTATE.
sqlany_sqlstate ( $conn )
$conn A connection object returned from sqlany_new_connection.
Returns a scalar value that is the current 5-character SQLSTATE.
sql_state = api.sqlany_sqlstate( conn )