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

Where do you find the default Index fill factor and how to change it?

1062


What is difference between rownum and row_number?

966


Do you know nested transaction?

955


What is dml command?

963


Explain about system stored procedure?

1032


How to use order by with union operators in ms sql server?

1020


Define a cross join?

1014


What does the on delete cascade option do?

1017


Is mysql better than sql server?

1059


What are the types of indexes?

1082


What is the server name in sql server?

1006


What is normalization? Explain different forms of normalization?

1154


What is attribute hierarchy? : sql server analysis services, ssas

1014


How do clustered indexes store data?

1102


What is the use of floor function in sql server?

1079