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 / manish rathore

I got it from net.
Hope it will serve.

select *
from sys.dm_db_index_usage_stats
where object_id = object_id( '<Table_Name>' )

Is This Answer Correct ?    1 Yes 0 No

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

Answer / aseem k

select b.name, a.analyzetime from tab$ a, obj$ b
where a.obj#=b.obj#
and b.name ='EMP'

Is This Answer Correct ?    0 Yes 0 No

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

Answer / ajit nayak

SELECT TO_CHAR(LAST_ANALYZED,'DD-MON-YYYY HH12:MI:SS'),COLUMN_NAME
FROM COLS
WHERE TABLE_NAME = 'EMP';

Is This Answer Correct ?    0 Yes 0 No

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

Answer / manoj

select table_name, to_char(last_analyzed, 'DD-MM-YY
HH:MI:SS') from user_tables where last_analyzed in (select
max(last_analyzed) from user_tables)

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More Oracle General Interview Questions

How to find the duplicate rows count from employees table in oracle?

0 Answers  


State any two functions of oracle?

0 Answers   Aricent,


is there a tool to trace queries, like profiler for sql server?

0 Answers  


Oracle

0 Answers   ABC, Genpact, HUI, Oracle,


What are the four Oracle system processes that must always be up and running for the database to be useable?

0 Answers  


What is an Index Segment ?

2 Answers  


Which Department has MOST NUMBER of employees?

8 Answers   IBM, LeadSquared, Mastek,


How to export your connection information to a file?

0 Answers  


How to change program global area (pga) in oracle?

0 Answers  


What is a data segment ?

1 Answers  


candidate key is subset of super key but not vice-verse explain

0 Answers  


7. Repeat query (7) but also display all clients who have never ordered anything.

1 Answers   Wipro,


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)