Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Clem Akins — — source: Informix-list mailing list archive (1991-1998)
See TFM, "Guide to SQL Syntax", where the index has an entry for
"Update Statement and Triggers." TFM is available on the web site
at http://www.informix.com .
You might consider a separate table for update time tracking to
avoid tracking the time that the timestamp was entered... ;)
These issues are covered in the "Stored Procedures and Triggers"
class, available on-site and at Informix Training centers
worldwide.
Clem
At 12:10 PM 18-08-98 -0700, Erik Nis Jessen wrote:
>In one of our table we want to keep track of changes by adding a
>timestamp whenever the table changes.
>
>The table is created with:
>
>k_lastupdated DATETIME YEAR TO FRACTION DEFAULT CURRENT
>
>which correctly insert a timestamp when the table is created.
>
>Can someone direct me to literacy or have a good idea as to what I need to
>do to update this timestamp when UPDATE queries are perfomed on the
>table?
>
> /Erik
>
>
>
_____________________________________________________________
Clem Akins (aka clem@informix.com) Menlo Park x5937
Customer Course Development Informix Software, Inc
Last seen: Riding the waves of a 5.3 California earthquake!
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.