oracle表数据修复错误后恢复数据
2016-06-03 16:47
507 查看
--查找出执行sql时的时间
select r.FIRST_LOAD_TIME,r.* from v$sqlarea r order by r.FIRST_LOAD_TIME desc ;
--查出修改之前的数据 存储到一张新表中
create table eomstest_20160603 --新表
as
select * from eomstest --之前操作的那张表 时间为上边查出来的修改时间
as of timestamp to_timestamp('2016-06-03 16:29:13','yyyy-mm-dd hh24:mi:ss');
select r.FIRST_LOAD_TIME,r.* from v$sqlarea r order by r.FIRST_LOAD_TIME desc ;
--查出修改之前的数据 存储到一张新表中
create table eomstest_20160603 --新表
as
select * from eomstest --之前操作的那张表 时间为上边查出来的修改时间
as of timestamp to_timestamp('2016-06-03 16:29:13','yyyy-mm-dd hh24:mi:ss');
相关文章推荐
- 通过存储过程更新表结构
- ORACLE 12C R2 RAC实战首发
- Oracle中查询当前数据库中的所有表空间和对应的数据文件语句命令
- Configure Oracle Enterprise Manager 12c In Silent Mode
- oracle中sign函数
- oracle锁定sga物理内存:pre_page_sga和lock_sga
- oracle 11g direct path read new feature
- oracle表空间
- Oracle学习——安装系列
- Oracle
- oracle线程数更改
- Oracle中start with...connect by子句的用法
- Oracle用户密码过期和用户被锁解决方法
- 能使Oracle索引失效的六大限制条件
- oracle打开SQL Developer时提示 enter full path name of java.exe
- oracle 取部分表备份的引用脚本
- Oracle中的job定时任务
- 如何诊断RAC环境中节点重启问题(适用于11gR2)
- Mybatis直接插入oracle序列号
- ORACLE系统表大全