Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the use of “join” in sql server?

1065


Can truncate be rolled back?

918


What do you understand by recursive stored procedure?

905


How do I manually uninstall an instance of sql server 2016?

1009


What are distributed partitioned views?

1050


What is temporal data type?

903


What are the differences between INNER JOIN, LEFT JOIN and RIGHT JOIN in SQL Server?

1113


How to write a query with an inner join in ms sql server?

1023


Are semicolons required at the end of sql statements in sql server 2005?

965


Write a SQL query to delete a table?

1118


Why is replication required on the sql server?

1047


Explain transaction server distributed transaction?

958


What is the report model project?

141


What are different types of schemas?

925


What are “phantom rows”?

1643