get_sqlstate
Description:
Get the SQLSTATE value of this.
Even though the SQLSTATE values are specified by ANSI SQL and ODBC, consult each DBMS for the possible values. However, the "00000" (success) value means that there is no error, and the "HY000" (general error) value means an error but no better error code available.
Parameters:
this |
Returns:
this's SQL state. |