|Subject||Re: [IBO] Questions about transactions and generators|
Helen Borrie wrote:
> 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);