道不远人,深入.net底层技术
业精于勤荒于嬉,行成于思毁于随!

1、只复制一个表的结构

select * into [tableName1] from [tableName2] -- 表的复制
select
top 0 * into [tableName1] from [tableName2] -- top 0 的妙用

select * into b from a where 1<>1 --where 1<>1

 

 

posted on 2009-06-23 00:08  扬帆起航  阅读(139)  评论(0编辑  收藏  举报