1、说明:复制表(只复制结构,源表名:a 新表名:b)
法一:select * into b from a where 1<>1
法二:select top 0 * into b from a
2、说明:拷贝表(拷贝数据,源表名:a 目标表名:b)
insert into b(a, b, c) select d,e,f from a;
insert into target_table
select ...... from source_table
where .....
union all
select ...... from source_table
where .......