1.SqlServer数据库

--DataTable 原数据表  
--DataTable_20150717 要备份的新表名  
select * into DataTable_20150717   
from DataTable Where [条件1,条件2];  

2.Oracle数据库

--创建表结构  
create table Table_20150720   
as select * from Table where 1=2;  
--备份指定数据   
insert into Table_20150720  
select * from Table Where [条件1,条件2] 

 

相关文章:

  • 2022-12-23
  • 2021-05-20
  • 2021-12-04
  • 2021-12-27
  • 2022-12-23
  • 2021-12-04
  • 2021-12-04
猜你喜欢
  • 2021-12-06
  • 2021-11-06
  • 2021-12-04
  • 2021-11-29
  • 2021-12-31
  • 2022-01-10
相关资源
相似解决方案