SUSPEND
Passes output to the buffer and suspends execution while waiting for caller to fetch it
SUSPEND;
The SUSPEND
statement is used in selectable stored procedures to pass the values of output parameters to a buffer and suspend execution.Execution remains suspended until the calling application fetches the contents of the buffer.Execution resumes from the statement directly after the SUSPEND
statement.In practice, this is likely to be a new iteration of a looping process.
Important
|
Important Notes
|