How to find the date and time of last updated table?
Answer Posted / vidit tyagi
SELECT OBJECT_NAME(OBJECT_ID) AS DatabaseName,
last_user_update,*
FROM sys.dm_db_index_usage_stats
WHERE database_id = DB_ID( 'DataBaseName')
AND OBJECT_ID=OBJECT_ID('TableName')
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to connect sql server management studio express to sql server 2005 express?
How to update a field in SQL after ALTERING a row?
In my application I have a process which picks the scanned files (tif format) from a shared location and it links to application and shown on it.The actuall issue is that my process picks the file before it is completly written or scanned which results in displaying few parts of the image or incomplete image.I need to check if the file is not completly scanned or written then do not link it to application.Please help if any body tell me that how can i check that file is in written phase or locked through DTS.thanking you in advance
Explain having clause?
Explain the use of containers in ssis?
What is meant by indexing?
What is merge join?
What is change tracking in sql server?
Do you know what is sql injection?
Do you know what are the steps to process a single select statement?
What is a partitioned view?
What are approximate numeric data types in ms sql server?
What are rest-style architecture's?
Explain isolation levels that sql server supports?
How to delete existing rows in a table?