Subject | Re: [firebird-support] firebird fedora core 3 |
---|---|
Author | Helen Borrie |
Post date | 2004-12-25T00:24:15Z |
At 05:26 PM 24/12/2004 -0500, you wrote:
>Dynamic SQL ErrorIF (NEW.id IS NULL) THEN
>-SQL error code = -206
>-Column unknown
>-PERSON.ID
>-At line 5, column 13.
>make: *** [/home/taf2/simo2/debug/bin/simo.fdb] Error 1
>
>
>SET TERM !!;
> CREATE TRIGGER person_generator FOR person
> ACTIVE BEFORE INSERT POSITION 0
> AS
> BEGIN
>/* IF (person.id IS NULL) THEN */
>/* person.id = GEN_ID(person_seq,1); */new.id = GEN_ID(person_seq,1);
> END!!./hb
>SET TERM ;!!
>
>-- Commit Changes
>--------------------------------------------------------------
>commit;