GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Oracle  >  PL/SQL
Go To First  |  Previous Question  |  Next Question 
 PL/SQL  |  Question 226 of 241    Print  
What is flash back query and trip stop

  
Total Answers and Comments: 3 Last Update: July 08, 2009     Asked by: jagadeesh9 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: javedans
 
Flashback query is used to retrieve data, which is errantly deleted or updated in the database. Or we can say, we can see data prior to commit the data in the database.

Flashback only available in system managed undo database.

There are two method to retrieve data.
1. Enable_at_time
2. Enable_at_system_change_number

In built package for the same is
DBMS_FLASHBACK

Above answer was rated as good by the following members:
agafo
July 20, 2008 11:12:28   #1  
pardhu323 Member Since: July 2008   Contribution: 2    

RE: What is flash back query and trip stop
Through flash back queries you can get the data which has been deleted permanently.

Different types of methods are there :

Use the following links to get the complete information :

http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10795/adfns_fl.htm

http://it.toolbox.com/blogs/david/using-dbms_flashback-in-oracle-to-set-your-entire-session-back-in-time-14792


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
May 14, 2009 15:03:16   #2  
sububhaai Member Since: May 2009   Contribution: 2    

RE: What is flash back query and trip stop

Flash Back Query:
-----------------------


You perform a Flashback Query using a SELECT statement with an AS OF clause. You use a Flashback Query to retrieve data as it existed at some time in the past. The query explicitly references a past time using a timestamp or SCN. It returns committed data that was current at that point in time.

SELECT COL1 COL2... FROM <TABLE_NAME> AS OF TO_DATE('05/01/2009' 'MM/DD/YYYY');


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
July 08, 2009 14:37:17   #3  
javedans Member Since: January 2009   Contribution: 8    

RE: What is flash back query and trip stop
Flashback query is used to retrieve data which is errantly deleted or updated in the database. Or we can say we can see data prior to commit the data in the database.

Flashback only available in system managed undo database.

There are two method to retrieve data.
1. Enable_at_time
2. Enable_at_system_change_number

In built package for the same is
DBMS_FLASHBACK

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape