Retrieves the current SQLSTATE.
sqlany_sqlstate ( $conn )
Returns a scalar value that is the current five-character SQLSTATE.
sql_state = api.sqlany_sqlstate( conn )