How to find the date and time of last updated table?
Answer Posted / vidit tyagi
SELECT OBJECT_NAME(OBJECT_ID) AS DatabaseName,
last_user_update,*
FROM sys.dm_db_index_usage_stats
WHERE database_id = DB_ID( 'DataBaseName')
AND OBJECT_ID=OBJECT_ID('TableName')
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to provide login information for a new odbc dsn?
What is filtered index?
How many servers can we create in a single subscription?
Is oracle faster than sql server?
What is a hint?
What happens when converting big values to integers?
what's the difference between delete table and truncate table commands? : Sql server database administration
why would you call update statistics? : Sql server database administration
Difference between group by clause and having clause in SQL?
Do you know clustered and non-clustered index?
What is extended stored procedures?
Mention the different types of replication in sql server.
Is it true that rules do not apply to data already existing in a database at the time the rule is created?
What is the command to change the recovery model?
What is self join in sql server joins?