-
drop table and truncate table
Hi,
I just want to be sure....in Oracle10g u can rollback dropped tables
but not truncated ones right?
Behind The Success And Failure Of A Man Is A Woman
-
Speaking generally, yes.
If we should be correct, rollback as we do it normally will not bring back the data in both cases.
However for dropped table you can
flashback table to before drop
IF:
The table was not dropped using PURGE option\
The table was not dropped as a result of DROP USER CASCADE or Drop tablespace including contents
The space occupied by the table is still not reused
This is in plase operation, no shutdown is needed, no resetlogs, fast and easy
About the truncate, you need FLASHBACK DATABASE or incomplete recovery.
They both requires shutdown and RESETLOGS and brings the entire database back
Cheers
-
thanks dear
Behind The Success And Failure Of A Man Is A Woman
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|