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 2005 Forums
 SQL Server Administration (2005)
 Determining last write time for a table?

Author  Topic 

MartinSmith
Starting Member

17 Posts

Posted - 2010-01-10 : 09:08:57
I know that it is possible to determine the last time that a table was written to by looking at the last_user_update column in sys.dm_db_index_usage_stats.

However this data is reset if SQL Server is restarted. Is there any way of determining the last write time for a table even if it happened before the last server restart?

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2010-01-10 : 10:39:51
Not Possible unless you have tracked it with triggers or Viewing the Logs with Log Explorer
Go to Top of Page
   

- Advertisement -