Subject | Re: [firebird-support] Some feedback of my 2.5 experience |
---|---|
Author | Ann Harrison |
Post date | 2011-06-03T16:35:05Z |
On Fri, Jun 3, 2011 at 4:04 AM, Werner F. Bruhin <werner.bruhin@...> wrote:
in inserting a row. Fail, retry, same error, fail, retry ...
Cheers,
Ann
>> IF (NEW.ID IS NULL) THENGood catch - that code would run forever without ever succeeding
>> NEW.ID = GEN_ID(GEN_CUSTOMERINCIDENTS_ID,0);
> Shouldn't that be:
>
> NEW.ID = GEN_ID(GEN_CUSTOMERINCIDENTS_ID,1);
>
in inserting a row. Fail, retry, same error, fail, retry ...
Cheers,
Ann