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 are sp_configure commands and set commands?
How to run queries with sql server management studio express?
Can we create SP inside SP ? If no Y ? If yes Y ? Explain with an example ?
How to convert numeric values to integers in ms sql server?
How fixed length strings are truncated and padded?
What is trace flag in sql server?
how to insert the values in 5 table at a time Using any single statement ?
6 Answers Infosys, Value Labs,
What are the different authentication modes in sql server? How can it be changed?
How to Run a Query on a Remote SQL Server?
How do we get current date in SQL Server 2000, Oracle, MS Access?
What causes index fragmentation?
What is 2nf example?
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)