SQL> drop table mytest;
Table dropped.
SQL> desc mytest;
ERROR:
ORA-04043: object mytest does not exist
SQL> flashback table mytest to before drop;--------如果表删除之后又重新创建了一个同名的表,可以flashback table mytest to before drop rename to 新的表名;--------
Flashback complete.
SQL> select * from mytest;
NAME
--------------------
freas
tangtang
由此可见,表已经恢复回来了。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31448824/viewspace-2137530/ ,如需转载,请注明出处,否则将追究法律责任。