Using the MORE Keyword
Use the MORE keyword to determine if the most recently executed SQL statement
resulted in the following actions by the database server:
- Stored all the exceptions that it detected in the diagnostics
area
If so, GET DIAGNOSTICS returns a value of N.
- Detected more exceptions than it stored in the diagnostics area
If so, GET DIAGNOSTICS returns a value of
Y
. (The value of MORE is alwaysN
.)