Subject | Re: [IBO] Stored procedure, ExecSQL and Suspend |
---|---|
Author | Marco Menardi |
Post date | 2002-11-04T13:02:26Z |
--- In IBObjects@y..., Svein Erling Tysvaer <svein.erling.tysvaer@k...> wrote:
EXIT (or END) *is* enought.
But this has wake up the fact that I'm using SP withoud knowing exactly all the pitfalls involved, simply "coping old code" and adding some suspend around, just to make SP look better ;)
Hope that at the end I will understand the apropriate use of SP and IBO related components.
regards
Marco Menardi
> <skipped a lot>No, it was a mistake by me in the SP :(
>
> > IF ((OUT_DIFFERENZIA='E') OR (OUT_DIFFERENZIA IS NULL)) THEN
> > OUT_DIFFERENZIA='N';
> > SUSPEND; /* ****************************** */
> >END
> >
> >Needs the final suspend...
>
> Are you sure? I would have thought EXIT would have been more appropriate.
EXIT (or END) *is* enought.
But this has wake up the fact that I'm using SP withoud knowing exactly all the pitfalls involved, simply "coping old code" and adding some suspend around, just to make SP look better ;)
Hope that at the end I will understand the apropriate use of SP and IBO related components.
regards
Marco Menardi