Subject | Re: [firebird-support] Re: update a field in after insert update |
---|---|
Author | Ann W. Harrison |
Post date | 2009-03-15T19:50:47Z |
rogervellacott wrote:
update - or some combination that includes update. But the
trigger we're talking about is after insert.
Good luck,
Ann
> I suspect this would create an endless loop.It would create an infinite loop if the trigger were an after
>
> <aharrison@...> wrote:
>> If the change must actually be done after the insert occurs,
>> you could try something like this:
>>
>> update test_table s
>> set s.kyriga = 'test'
>> where s.<primary key> = new.<primary key>
>>
>> replacing <primary key> with the name of the primary key field.
>>
update - or some combination that includes update. But the
trigger we're talking about is after insert.
Good luck,
Ann