Subject | RE: [IBO] Absolute unique value/generator/SP problem |
---|---|
Author | Helen Borrie |
Post date | 2004-06-22T13:38:18Z |
At 06:27 AM 22/06/2004 -0700, you wrote:
literally does *suspend* the SP, which waits for the caller to fetch the
row it just created.
Executable procs push their singleton result set directly into the XSQLDA
structure - a one-off that happens when execution reaches the final END
statement. In an executable procedure, SUSPEND means the same as EXIT, i.e.
it causes the SP to stop executing.
Helen
>Thanks so much Helen - greatly appreciated.Yes. SUSPEND is needed when the SP is pushing rows out to a buffer. It
>One question: I need to remove the suspend; from the SP? I thought I needed
>this whenever returning a value. Apparently just for a record set?
literally does *suspend* the SP, which waits for the caller to fetch the
row it just created.
Executable procs push their singleton result set directly into the XSQLDA
structure - a one-off that happens when execution reaches the final END
statement. In an executable procedure, SUSPEND means the same as EXIT, i.e.
it causes the SP to stop executing.
Helen