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
 General SQL Server Forums
 New to SQL Server Programming
 How To Find Last DML Operation Date Of Table

Author  Topic 

Jawad
Starting Member

17 Posts

Posted - 2012-09-03 : 10:22:28
Hi

SQL Server 2005 & 2008
I don't have permissions on 'sys.dm_db_index_usage_stats'

Is there any other way I can find last DML(Insert, Update, Delete) date of my own table(s) with in limitations of my own user account?

Wishes
J a w a d

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-09-03 : 15:09:02
do you've an audit table setup? or CDC in 2008?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

Jawad
Starting Member

17 Posts

Posted - 2012-09-04 : 00:17:03
quote:
Originally posted by visakh16

do you've an audit table setup? or CDC in 2008?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/






No audit table and my major part of work is in SQL Server 2005.
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-09-04 : 01:18:50
Some ideas 1)What is your intention? For example , if it's to find out the last time you logged on - you may be able to request a Security Audit readout from the Event Viewer.
2)Find the tables you think are used , do they have a timestamp column?
3)http://blogs.msdn.com/b/jenss/archive/2009/11/18/want-to-know-what-happened-on-your-database-by-reading-the-transaction-log.aspx

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page
   

- Advertisement -