Skip to content
  • There are no suggestions because the search field is empty.

T SQL Script: Find Tables Updated Recently

T SQL Script: Find Tables Updated Recently

--  Find Tables Updated Recently 
SELECT
    OBJECT_NAME(object_id) AS TableName,
    last_user_update
FROM sys.dm_db_index_usage_stats
WHERE database_id = DB_ID()
ORDER BY last_user_update DESC;