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


Please Help Members By Posting Answers For Below Questions

What is the difference between for xml raw and for xml auto?

653


how many bits ip address consist of? : Sql server database administration

546


Do you know what is fill factor and pad index?

655


Why use identity in sql server?

637


Differentiate between ms sql server reporting services vs crystal reports?

574






How to create a Master database in SQL server ?

641


Explain unique key in sql server?

634


How to verify the port number of the sql server?

618


What are the built in functions in sql server?

574


Define Wed Edition in SQL Azure?

90


What is an indice?

666


Is candidate a key?

622


What is the difference between dataadapter and datareader?

617


How do I clean up sql server transaction log?

641


Explain sql server service broker?

615