Subject Re: [firebird-support] Catching GDSCODE in Stored Procedures?
Author Martijn Tonies
> >I thought this should work:
> >
> > 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?

With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com