How to find the date and time of last updated table?
Answer Posted / sanjeev kumar
SELECT OBJECT_NAME(OBJECT_ID) AS tablename,
last_user_update
FROM sys.dm_db_index_usage_stats
WHERE database_id = DB_ID( 'your_database_name')
and user_updates>0
order by last_user_seek desc
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is nonclustered index with included columns ?
A trigger can reference objects outside the current database? State true or false.
What are information schema views?
what's new in sql server 2016?
what changed between the previous version of sql server and the current version? : Sql server database administration
How to rebuild all indexes on a single table?
What is the default order of an order by clause?
What are the purposes of floor and sign functions?
Explain important index characteristics?
Explain what is cte (common table expression)?
How to change server name in sql server?
I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration
What are character string data types in ms sql server?
What is the difference between cube operator and rollup operator? : SQL Server Architecture
What are the differences between char and varchar in ms sql server?