Re: Update Trigger
Posted in 2000
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
michaelheinicke@my-deja.com wrote: > > i have an datefield in an table that automatic updating on an sql- > update. I'm tried this on an update trigger, but it goes not. > How can i create an update trigger on table that's updating this > table ? I'm sure this is just a language problem. Please try to explain again and I'll try to guess. If you want a trigger to update a column in the same table on update of a row you can do so as long as the column the trigger will effect is not the object of the trigger. So if you want to update say a timestamp column automatically when the row is updated then make the trigger FOR UPDATE OF and list all columns EXCEPT the timestamp. Art S. Kagel