qqjianyue代码工

砌java代码
posts - 62, comments - 9, trackbacks - 0, articles - 10
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

oracle常用恢复

Posted on 2009-08-07 22:07 Qzi 阅读(193) 评论(0)  编辑  收藏 所属分类: oracle

恢复表数据:
alter table 表名 enable row movement;
flashback table 表名 TO TIMESTAMP to_timestamp('2009-08-07 18:34:00','yyyy-mm-dd hh24:mi:ss');

恢复存储过程:
select text from dba_source as of timestamp to_timestamp('2009-03-06 09:45:00', 'YYYY-MM-DD HH24:MI:SS') where owner='IPRA' and name= 'P_IPACCHECK_NC' order by line;
需要sys用户
否则不够权限
或者登录数据库所在主机,使用数据库管理者的系统用户登录


只有注册用户登录后才能发表评论。


网站导航: