Subject Re: [firebird-support] Handling GDSCODE
Author Ivan Prenosil
> I'm trying handle GDSCODE but an error occurs when I compile the
> procedure.
> I wrote
>
> .....
> WHEN GDSCODE 335544665 DO
> BEGIN
> MSG='.........';
> SUSPEND;
> BEGIN
>
> and error -104 ocurred.

WHEN GDSCODE unique_key_violation DO

Ivan
http://www.volny.cz/iprenosil/interbase/