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 |
Can a synonym name of a table be used instead of a table name in a select statement?
Which command executes the contents of a specified file?
What is MSDE?
How do I find the port number for sql server?
What are constraints? Explain different types of constraints?
26 Answers Emsang, Kendriya Vidyalaya(Kvs), Polaris, Wipro,
Please give me queries for the following 1. To get the count of duplicate records. 2. A query to delete the duplicate records.
Tell me what is the order in which the sql query is executed?
What are the properties of the transactions?
What are the restrictions that views have to follow? : SQL Server Architecture
When do you use SQL Profiler?
Do you know what is fill factor and pad index?
Are there any preferred steps that need to be taken care of before starting the installation of sql server 2000?
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)