Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 Getting Time Stamp of updated records

Author  Topic 

param
Starting Member

1 Post

Posted - 2002-12-31 : 02:06:03
Hi,
Is it possible to get the time stamp of a record specifying its last updated time.As of now we do not have a separate column specifying the TimeStamp in the Tables.Can it be done without adding an additional column?Is there any way to identify when a record was last updated?

Thanks and regards,
Param

rihardh
Constraint Violating Yak Guru

307 Posts

Posted - 2002-12-31 : 03:34:45
If you have the time and tools you can look it up in the transaction log...

Go to Top of Page

robvolk
Most Valuable Yak

15732 Posts

Posted - 2003-01-01 : 12:36:56
...which unfortunately won't help if the log has been backed up since the row was last updated. If you need to get this information on a regular basis you need to add a LastUpdated column and maintain it using an update trigger.

Go to Top of Page
   

- Advertisement -