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 are a scheduled jobs or what is a scheduled tasks?
Explain “@@rowcount” and “@@error” in sql server?
What is subquery? Explain the properties of a subquery?
What extended events?
What is sub query and its properties?
What is default constraint?
How many full-text indexes can a table have?
How to delete existing rows in a table?
What is the difference between a fill factor of 100 and 0?
How to create a user to access a database in ms sql server using "create user" statements?
Explain how does the report manager work in ssrs?
What is scalar user-defined function?
How do you debug a procedure in sql server?
Please illustrate physical database architecture? : SQL Server Architecture
It is important form e to get the information from log files of applications executed by the task scheduler? Does sql studio save these log files? : sql server management studio