Subject | Re: [firebird-support] Catching GDSCODE in Stored Procedures? |
---|---|
Author | Helen Borrie |
Post date | 2004-05-11T13:00:30Z |
At 02:43 PM 11/05/2004 +0200, you wrote:
and their symbols, freshly generated from msg.gdb. Also here:
http://www.ibobjects.com/docs/fb_1_5_errorcodes.zip
/heLen
> > >I thought this should work:The Firebird book has it right. :-) And supplies a full list of gdscodes
> > >
> > > WHEN GDSCODE 335544345 DO EXIT;
> > >
> > >But it doesn't, while this does work:
> > >
> > > WHEN GDSCODE lock_conflict DO EXIT;
> > True, WHEN gdscode always did work only with the symbols. Why? don't
>know.
>
>Strange... The InterBase documentation says:
>
>GDSCODE errcode An InterBase error code number
>
>What does the Firebird docs/book say?
and their symbols, freshly generated from msg.gdb. Also here:
http://www.ibobjects.com/docs/fb_1_5_errorcodes.zip
/heLen