Subject | Re: [firebird-support] update a field in after insert update |
---|---|
Author | Uwe Grauer |
Post date | 2009-03-14T13:29:01Z |
Maurizio wrote:
http://www.firebirdsql.org/refdocs/langrefupd20-create-trigger.html
Uwe
> hi ,NEW.kyriga = 'test'
> i have to update a field of a table when a new record of the same table
> is inserted .
>
> i am tryng to use an after insert trigger , i tryed
>
> ..
> update test_table s
> set s.kyriga = 'test' ;
> ..
>
> and of course it affected all the rows , bu i want update only
> the inserted row
>
> any help ?
>
>
> thanks
>
> Maurizio
http://www.firebirdsql.org/refdocs/langrefupd20-create-trigger.html
Uwe