数据库中复制表操作

sqlserver复制表结构

select * into newtable from oldtable;

select * into [t_train_analyze_train] from DCZY.dbo.[t_train_analyze_train]

oracle中

create table new_table as select * from old_table where 1=2

 

posted @ 2019-09-27 14:50  萌橙  阅读(527)  评论(0编辑  收藏  举报