1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
| alter session set nls_date_format='yyyy-mm-dd hh24:mi:ss'; create table emp_new as select * from emp; select * from emp_new where empno=7369; update emp_new set sal=3000 where empno=7369; commit; update emp_new set sal=4000 where empno=7369; commit; delete emp_new where empno=7369; commit; commit; select versions_startscn, versions_starttime+0 versions_starttime, versions_endscn, versions_endtime+0 versions_endtime, versions_xid, versions_operation,empno,ename,sal from emp_new versions between timestamp sysdate - 15/24/60 and sysdate where empno = 7369 order by versions_starttime;
|