What is the purpose of the WHENEVER statement?
Answer / s
WHENEVER is used to specify whether to continue processiong
or branch to another area in your program.
EXEC SQL
WHENEVER CONDITION ACTION
END-EXEC
CONDITION can be SQLWARNING, SQLERROR, NOT FOUND conditions
The ACTION can be CONTINUE or GO TO to branch to another
area in your program
| Is This Answer Correct ? | 0 Yes | 0 No |
How to take backup of table in db2?
Is it Possible to declare or create a cursor for UPDATE of table? If yes tell me how? If no Tell me why?
What is the meaning of -805 SQL return code?
For update of a row in cursors, when do we move value into host variable in cobol progrm? is it before open or before fetch ?
How to create backup table in db2?
What is index in db2?
When Can you be sure that a query will return only one row?
Can any one tell me about Restart logic in DB2.
wht displays the number of times a query modified ?
Comment whether dclgen is mandatorily used. If not, then what is the point of using it?
How can you display the current date & current time ?
What is the difference between IN subselects and EXISTS subselect?