How to find the date and time of last updated table?
Answers were Sorted based on User's Feedback
Answer / 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 |
What is database white box testing?
What are functions
What is the diff between Dynamic queries and static queries
1 Answers CGG, ICS Integrated Computer Solutions,
what are the different types of replication you can set up in sql server? : Sql server database administration
How can you get @@error and @@rowcount at the same time?
What is the difference between inner join and equi join?
How to check what was the last restore transaction LSN on Log-Shipping and Mirroring when we doesn't have a Monitor server and Witness server?
How to create a simple user defined function in ms sql server?
Name 3 ways to get an accurate count of the number of records in a table?
What is not null constraint?
how to overcome kernel isssues
what is DTS what are tasks available
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)