oracle 数据备份

来源:互联网 发布:命理探源知乎 编辑:程序博客网 时间:2024/05/17 07:24
   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')

0 0
原创粉丝点击