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 ? | 21 Yes | 15 No |
Post New Answer View All Answers
How to return the top 5 rows from a select query in ms sql server?
Explain view in sql server?
What is the process of normalization?
Tell me what do you understand by a view? What does the with check option clause for a view do?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?
What is the use of RDBMS?
Why I am getting "the microsoft .net framework 2.0 in not installed" message?
Explain indexing and what are the advantages of it?
How do we Backup SQL Azure Data?
Does full backup break log chain?
What are key, name and value columns of an attribute? : sql server analysis services, ssas
Write a query to include a constraint, to check whether the employee salary is greater than 5000?
What is the maximum size of a row in sql server?
How can i Relate Tables in SSIS
Explain the microsoft sql server delete command? : SQL Server Architecture