Subject | Re: [firebird-support] Exception hangling in stored procedure |
---|---|
Author | Michael Ludwig |
Post date | 2010-11-26T18:56:41Z |
tomkrej schrieb am 26.11.2010 um 10:07 (-0000):
--
Michael Ludwig
> Hi, I find some manuals for exception handling using WHENMight you be missing to call SUSPEND? You should post your code.
>
> in some of them there is an initialization of output parameter in WHEN
> block. I tried to do it in my database, but when I call the procedure
> like
>
> select * from procedure_with_when (:param1, :param2)
>
> and the exception is raised, the result is empty. no value is
> returned.
> I had an idea that one of output parameters would inform whether theThat's certainly possible.
> operation was successfull, or when not, why not(e.g. 0 = success, -1 =
> error 1, -2 = error 2, ...)
--
Michael Ludwig