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 / sanjeev kumar

SELECT OBJECT_NAME(OBJECT_ID) AS tablename,
last_user_update
FROM sys.dm_db_index_usage_stats
WHERE database_id = DB_ID( 'your_database_name')
and user_updates>0
order by last_user_seek desc

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you know what are the steps to process a single select statement?

949


How much does sql server 2016 cost?

1035


what's the difference between a primary key and a unique key? : Sql server database administration

922


Where the sql logs gets stored?

966


How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?

1124


What are the various Operating system files that every SQL server 2005 database has and what is the purpose.

1038


What are the dmvs?

998


Explain a join?

1046


What is instead of dml trigger?

977


what are constraints? : Sql server database administration

1031


How do I find the sql server instance name?

954


What program is used to store the data source file?

942


How to write character string constants or literals in ms sql server?

991


Can we call stored procedure in trigger?

931


what are defaults? : Sql server database administration

1069