December 2002
Intermediate to advanced
928 pages
85h 29m
English
Built-in function that returns the SQL error code for the current exception. You can include this function inside the exception section’s WHEN OTHERS clause in order to handle specific errors by number. The EXCEPTION_INIT pragma allows you to handle errors by name. See the SQLERRM entry, next, for an example of using this function.