Subject | Re: [firebird-support] update a field in after insert update |
---|---|
Author | Milan Babuskov |
Post date | 2009-03-14T16:22:51Z |
Dimitry Sibiryakov wrote:
Regards,
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com
>> and of course it affected all the rows , bu i want update onlyYou meant: to NEW.FIELD
>> the inserted row
>>
>> any help ?
>
> Use before insert trigger and assign new value to :NEW.FIELD.
Regards,
--
Milan Babuskov
http://www.flamerobin.org
http://www.guacosoft.com