Subject | Re: [IBO] Questions about transactions and generators |
---|---|
Author | Paul Vinkenoog |
Post date | 2004-05-22T09:46:44Z |
Helen Borrie wrote:
Greetings,
Paul Vinkenoog
> Yes; and I should also have mentioned that you must clean up yourMake that: IF (NEW.MyTablePK IS NULL) THEN...
> Before Insert trigger if you have not done so already, viz.
>
> IF (NEW.MyTablePK <> NULL) THEN
> NEW.MyTablePK = GEN_ID(GenMyTable, 1);
Greetings,
Paul Vinkenoog