select * into B from A

解决方案 »

  1.   

    select * into 新表 from 旧表
      

  2.   

    select 列名 as 新列名 into 新表 from 旧表
      

  3.   

    select * into B from A
      

  4.   

    select * into TableB from TableA
      

  5.   

    select 列名1 as 新列名1,列名2 as 新列名2,....... into 新表 from 旧表
      

  6.   

    select * into B from A --结构和数据select * into B from A where 1=1 --只复制结构
      

  7.   

    select * into B from A where 1=2 --只复制结构