Subject | Re: [firebird-support] Why IN AUTONOMOUS TRANSACTION doesnt work here? |
---|---|
Author | Ivan Přenosil |
Post date | 2013-09-20T18:48:24Z |
>
doesn't insert a row in the table ERRORS when I write:
>
'SMITH678901234567890123456')> EXECUTE PROCEDURE SAVE_LASTNAME(0,
Isn’t it normal in all programming languages that when error occurs than
normal
program flow is interrupted ? You caused error *before* the procedure was
invoked
so it is expected that the body of procdure will not be entered.
Also, if e.g. the second parameter of the procedure was Integer, what
value
would you expect in NEW. variable ?
Ivan