How to find the date and time of last updated table?
Answer Posted / payal nath
We can determine the last time a user table was altered
using the below query.
SELECT name, create_date, modify_date
FROM sys.tables
ORDER BY modify_date DESC
The modify_date column is updated whenever a column is
added or altered for the table.
It is also updated if the clustered index is changed.
| Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
Explain the properties of sub-query in sql server?
What are the advantages of using stored procedures in sql server?
What is the minimum and maximum number of partitions required for a measure group? : sql server analysis services, ssas
What is the most common trace flags used with sql server?
What the class forname () does?
What is partition, how will you implement it? : sql server analysis services, ssas
Is it true, that there is no difference between a rule and a check constraint?
What is log shipping? Can we do logshipping with SQL Server 7.0 ?
Why does sql studio use a single registered database repository? : sql server management studio
What happens if the update subquery returns multiple rows in ms sql server?
What are “lock” hints?
Do you know what is openxml in sql server?
Tell about MOM Tool(Microsoft Operator Manager)?
Explain what are the authentication modes in sql server?
Explain the difference between cross join and full outer join?