Returning SQL state codes (sys.SQLState)ΒΆ

!temp sys.SQLState,,a5

SQL state code

SQL state code. When an sql statement error is trapped by means of the err = clause, error information is returned in this variable. See the Microsoft ODBC documentation for SQL state codes.