用sql语句快速备份表数据

来源:互联网 发布:程序员什么时候跳槽好 编辑:程序博客网 时间:2024/06/05 19:50

1.Sql Server 数据库
select * into DataTable_20150717   from DataTable Where [条件1,条件2]; 


2.Oracle 数据库
create table DataTable_20170407 as select * from Table where 1=2; 
insert into DataTable_20170407 select * from Table Where [条件1,条件2] 

0 0
原创粉丝点击