SQLERROR( )
Topic group Related topics Example
Returns the number of the last server error.
Syntax
SQLERROR( )
Description
Use SQLERROR( ) to determine the error number of the last server error. To learn the text of the error message itself, use SQLMESSAGE( ).
See the table in the description of ERROR( ) that compares ERROR( ), MESSAGE( ), DBERROR( ), DBMESSAGE( ), SQLERROR( ), SQLMESSAGE( ), and CERROR( ).