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

where can you add custom error messages to sql server? : Sql server administration

1046


Explain comment on transactions?

934


How can you list all the columns in a database?

885


Does hive support indexing?

906


What are SSL and TSL protocols?

932


Define synonym?

1114


Explain try...catch with sql server?

980


What is BCNF? How is it better than 2NF & 3NF?

963


OPTIMIZATION OF SP,CURSOR,TRIGGERS

2705


What is a unique key constraint?

971


What is the sql server 2000 version number?

1008


What are the various editions of sql server 2017 that are available in the market?

844


Which operator do you use to return all of the rows from one query except rows are returned in a second query?

944


Can a database be shrunk to 0 bytes, if not, why?

1039


What is a rownum?

893