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?

Answers were Sorted based on User's Feedback



How to find the date and time of last updated table? ..

Answer / monal

USE TRIGGER OR ADD DATETIMESTAMP COLUMN IN A TABLE WITH
DEFAULT VALUE OF GETDATE()

Is This Answer Correct ?    9 Yes 2 No

How to find the date and time of last updated table? ..

Answer / 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

How to find the date and time of last updated table? ..

Answer / smitha

select name,create_date,modify_date from sys.tables
order by modify_date desc

Is This Answer Correct ?    5 Yes 3 No

How to find the date and time of last updated table? ..

Answer / 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

How to find the date and time of last updated table? ..

Answer / ram

USE TRIGGER OR ADD DATETIMESTAMP COLUMN IN A TABLE WITH
DEFAULT VALUE OF GETDATE()

Is This Answer Correct ?    1 Yes 1 No

How to find the date and time of last updated table? ..

Answer / siddharthapenchala

select scn_to_timestamp(max(ora_rowscn)) from <TN>

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How do I find the size of a sql server database?

0 Answers  


How to make a column nullable?

0 Answers  


how to avoid cursors? : Sql server database administration

0 Answers  


Do you know what are the ways available in sql server to execute sql statements?

0 Answers  


select top 5 * from emp order by newid() my question is , how this query get executed?

5 Answers  


Which is the best place or learning center for MS SQL?????In Bangladesh?????

0 Answers   TCL, Wipro,


What are different types of statements that are supported by sql?

0 Answers  


What is bcnf normalization form?

0 Answers  


What is hierarchy, what are its types and difference between them? : sql server analysis services, ssas

0 Answers  


how to know Who Is Blocking Your SQL Server?

4 Answers  


What is the default schema of your login session in ms sql server?

0 Answers  


Explain how to integrate the ssrs reports in application?

0 Answers  


Categories