【SQLSERVER】复制表结构

create table dest-tablename as select * from source-tablename where 1=2;
SELECT * into dest-tablename from source-tablename
where 0=1
select top 0 * into dest_table from source_table


原文地址:https://www.cnblogs.com/sekihin/p/741746.html
Creative Commons License 本作品采用 知识共享署名-非商业性使用 2.5 中国大陆许可协议进行许可。