i deleted 4 records form the table.after i have applied commit
.now i want to get back those records.how?
Answers were Sorted based on User's Feedback
Answer / serena
Using flashback table:
# enable row movement
1) alter table test2 enable row movement;
# flashback test2 to 10 minutes ago.
2) FLASHBACK TABLE test2 TO TIMESTAMP SYSTIMESTAMP -
INTERVAL '10' MINUTE;
| Is This Answer Correct ? | 16 Yes | 0 No |
Answer / bipin maurya
first of all u can executed first query after that u can executed sec query
ALTER TABLE table2 ENABLE ROW movement
flashback TABLE table2 TO timestamp systimestamp-interval
'100' minute
Thanks
Bipin Maurya
Mo-+919812630225
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / 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 |
Answer / manojkumar
Wow really excellent.(Asnani_satish,Bipin ,serena)
Thanks a lot
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / venkata
No,But some limitation time ... we can get a DBA
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / yash
NO We can't get back those records once commit has been done.
| Is This Answer Correct ? | 15 Yes | 18 No |
Answer / kishore
NO We can't get back those records once commit has been done.
| Is This Answer Correct ? | 1 Yes | 5 No |
what is the exact diiference between DBMS and RDBMS
How to sort the query output in oracle?
consider some table with 4 r 5 columns in that 1 col is DATE type. The data is like that,For each date in that col some 3 fields r there but all the records r having different data. Now i want to display all the columns by performing grouping on the date field ( as SELECTION Operator(*) cannot be used with group function having only one "group by clause". how to do this? can any one help me in finding out the solution plss?
How to create DSN..Explain?
2 Answers Accenture, BeBo Technologies, Infosys,
What is the difference between SQL and SQL Server?
Explain view?
Explain the use of online redo log files in oracle.
How to rename an index?
how can we write trigger in trigger???????? can we write one trigger on two table???
Explain the family trees and connection by clause
pls explain connect by prior with example and its real time use
diff between DELETE and TRUNCATE?.
14 Answers HCL, Yalamanchili Software,