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 |
If a stored procedure is taking a table data type, how it looks?
if 3 duplicate records in a table,i want to delete 2 duplicate records by keeping 1 as it is,how?
how we can store the value like that 001,003,023 etc in sql server 2005
What is the maximum length of an alert name?
Explain forward - only cursors?
what are statistics, under what circumstances they go out of date, how do you update them? : Sql server database administration
what is isolation level at dead lock?
What are Magic Table?
34 Answers 3i Infotech, Digiweb, Evalueserve, NIIT, PL,
What happens if the update subquery returns multiple rows in ms sql server?
I am using SQL Server 2005, I have some select and update statements in my query with WHERE clause I want to prevent these queries from SQL injection attacks. What are the steps and precautions to be taken for SQL Injection attacks? Does anybody have suggestions? Thanks in advance,
How you can get a list of all the table constraints in a database? : Sql server administration
How to create a ddl trigger using "create trigger" statements?
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)