i deleted 4 records form the table.after i have applied commit
.now i want to get back those records.how?

Answer Posted / asnani_satish@yahoo.com

Flashback table feature is available from Oracle 9i onwards
only. Before that deleted records once committed cannot be
rolled back. As far as Oracle 9i onwards the solution
specified by Bipin Maurya is correct. But i would like to
add something. For using FLASHBACK TABLE the user must be
granted privilege for the same. But there is another way out.

create table temp_new as select * from temp as of timestamp
to_timestamp('11/01/2011 08:45:00','dd/mm/yyyy hh24:mi:ss');

This will bring the table to the point in time specified by
timestamp.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are advantages of dateset in datastage?

1744


How to increment dates by 1 in oracle?

557


How to rename an index in oracle?

614


How will you differentiate between varchar & varchar2?

587


Difference between open_form and call_form in oracle.

676






What is the difference between substr and instr?

517


What are the oracle differences between nvl and coalesce

511


How to write numeric literals in oracle?

605


Explain table?

647


Calculate difference between 2 date / times in oracle sql?

566


What are the data types in oracle?

548


Can group functions be used in the order by clause in oracle?

573


What is a procedure in oracle?

616


What are oracle functions?

551


How to rename an index?

584