欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

Oracle数据库中闪回操作分析介绍

程序员文章站 2022-10-31 16:54:28
oracle中闪回操作分析介绍 sql> select * from student; select * from student * error at...

oracle中闪回操作分析介绍

sql> select * from student;
select * from student
              *
error at line 1:
ora-00942: table or view does not exist




sql> select * from bin$wa/yb4j1lbhguab/aqawvq==$0;
select * from bin$wa/yb4j1lbhguab/aqawvq==$0
                    *
error at line 1:
ora-00933: sql command not properly ended




sql> select * from "bin$wa/yb4j1lbhguab/aqawvq==$0";


        id name              age
---------- ---------- ----------
         1 tom                23
         2 mary               24


sql> show recyclebin;
original name    recyclebin name                object type  drop time
---------------- ------------------------------ ------------ -------------------
student          bin$wa/yb4j1lbhguab/aqawvq==$0 table        2017-09-01:01:26:38
sql> flashback table student to before drop;


flashback complete.


sql> show recyclebin;
sql> select * from student;


        id name              age
---------- ---------- ----------
         1 tom                23
         2 mary               24