1、使用 dba_views
回退到特定时间段,查看定义
select view_name,text from (select * From dba_views AS OF TIMESTAMP(SYSTIMESTAMP - INTERVAL '5' hour-INTERVAL '35'
minute) ) where view_name='VP_TASKCLASS_INFO';
注意,这里必须要有DBA的权限
2、TEXT 是Long 类型,在SQLPLUS 里边要先设置下
SQL> set line 100;
SQL> set long 20000000;
SQL> set longchunksize 255;
SQL> spool c:\test.txt
SQL> select * from aaa
SQL>spool off