Subject | RE: [firebird-support] GDSCODE. How to write? |
---|---|
Author | Helen Borrie |
Post date | 2007-09-25T05:03:33Z |
At 02:03 PM 25/09/2007, you wrote:
should avoid naming objects with reserved words. Assuming you want
the 9-digit alphanumeric code for the GDS exception, rather than the
symbol, you could try this:
create ...
as
declare gdcode char(9);
begin
...
when gdscode no_dup do
begin
gdcode = '335544349';
EXECUTE PROCEDURE ATOM_IU(null, null, gdcode);
End
end
./heLen
>I write:The sqlcode is a higher level grouping of gds error codes. You
>
>when gdscode no_dup do
>
> begin
>
> EXECUTE PROCEDURE ATOM_IU(null, null, gdscode);
>
> End
>
>
>
>Ibexpert show error: Feature not supported.
>
>What diffents between sqlcode and gdscode, I need use gdscode
should avoid naming objects with reserved words. Assuming you want
the 9-digit alphanumeric code for the GDS exception, rather than the
symbol, you could try this:
create ...
as
declare gdcode char(9);
begin
...
when gdscode no_dup do
begin
gdcode = '335544349';
EXECUTE PROCEDURE ATOM_IU(null, null, gdcode);
End
end
./heLen