oracle 数据备份
2016-06-23 22:06
393 查看
create table cop_cop_or_header_20160623 as select * from cop_cop_or_header;
select count(1) from cop_cop_or_header;
insert into cop_cop_or_header select * from cop_cop_or_header_20160623
delete from cop_cop_or_header cch where cch.fupdate_date > to_char(sysdate - 500,'yyyy-mm-dd hh24:mi:ss')
fupdate_date > to_char(sysdate - 180,'yyyy-mm-dd hh24:mi:ss')
select count(1) from cop_cop_or_header;
insert into cop_cop_or_header select * from cop_cop_or_header_20160623
delete from cop_cop_or_header cch where cch.fupdate_date > to_char(sysdate - 500,'yyyy-mm-dd hh24:mi:ss')
fupdate_date > to_char(sysdate - 180,'yyyy-mm-dd hh24:mi:ss')
相关文章推荐
- MyBatis分页插件:比PageHelper都要简单,使用很灵活,目前支持Oracle和MySQL
- Oracle创建表格时报错ora-00903:表名无效
- oracle查找重复记录
- nagios监控插件 nagios_oracle_health+check_linux_stats.pl
- Oracle database monitoring scripts
- 查看Oracle基础配置信息和性能相关信息的脚本
- 检查Oracle 中死事务的语句
- 不同用户数访问量等级下oracle数据库参数调整
- Entity Framework 6 Code First +MVC5+MySql/Oracle使用过程中的几个问题
- oracle数据库参数配置详细步骤
- oracle 左边填充函数使用
- 开启dblink的 oracle net trace与tracing --对dblink进行跟踪的方法
- oracle 如何查询过去某个时间点的记录(应用于某个时间点的误操作,回滚到之前的操作)
- oracle 中文乱码
- oracle:优化2----使用hints,加速生成执行计划
- Oracle 快照初次使用
- Java 和 Oracle 四舍五入问题。
- oracle日期格式转换 to_date(),to_char()
- why it would be horrible for Oracle to make that the "default".
- Oracle 如何停止job