Oracle 存储过程 drop后闪回恢复

来源:互联网 发布:db2 oracle mysql 编辑:程序博客网 时间:2024/06/05 04:58

获取DBA权限后通过以下语句可以获取删除后的存储过程

select text  from dba_source as of timestamp to_timestamp('<time>', 'YYYY-MM-DD HH24:MI:SS') where owner = '<tablespace>'   and name = '<procedures_name>' order by line;

但获取的存储过程是通过行文本的方式展示,若要恢复就只能自行重新生成。

0 0
原创粉丝点击