Subject | Re: [firebird-support] Writing A Stored Procedure ?? |
---|---|
Author | Paul Vinkenoog |
Post date | 2003-07-22T12:14:32Z |
> > suspend;Oh, another thing: you only use SUSPEND if you want to return values
> > end
to the caller; and even then, only in a SELECTABLE procedure. You
didn't show the proc header but from the body it didn't look like that
kind of SP. (I can imagine that you want to return a status code to
the caller here, e.g. to indicate whether the record already existed
or if you had to insert one, but you wouldn't return multiple rows so
an executable SP - without suspend - looks more logical.)
Grtz,
Paul