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

What are system databases into sql server (2005/2008)?

954


how you can deploy an ssrs report?

172


What does it mean to manipulate data?

942


What are the advantages of having an index on the sql server?

872


Explain difference between control flow and data flow?

904


what is an index? : Sql server database administration

931


Would you store your query in a ssrs report or a database server? State the reason why?

148


Can we add our custom code in ssis?

940


What is candidate key with example?

923


What is a trigger what are the advantages of trigger?

914


Explain having clause and where clause?

989


Distinguish between nested subquery and correlated subquery?

973


What is difference between stored procedure and user defined function?

1029


You want your report to display a hyperlink that will take users to your intranet. How do you configure such a hyperlink?

304


Explain timestamp datatype?

911