

SQL Statements › WHENEVER › Example
Example
The following identifies the exception conditions and the next statement to be executed in the order listed:
- If an error is produced, go to HANDLERR.
- If a warning code is produced, continue with the normal flow of the program.
- If no results are found, go to ENDDATA.
Copyright © 2014 CA.
All rights reserved.
 
|
|