select * into #b from a

解决方案 »

  1.   

    sql server 有 import and export data 工具
      

  2.   

    create table b
    as select * from a
      

  3.   

    progame的正确,SQL中临时表前要加#号
      

  4.   

    select * into #b from a WHERE 1<>1
      

  5.   

    select * into #b from a where 1=0
      

  6.   

    好玩,我再来:
    select * into #b from a where '好'='玩'
      

  7.   

    好得很,以前我不知道怎么create一个空表,原来where 1<>1就可以。
    :-)
      

  8.   

    好玩,我再来:
    select * into #b from a where ":-) " is null
      

  9.   


    Select本来就有这个功能嘛如果是游标方式 则在关闭的时候自动删除如果是临时表…………你想办法删除