这样吗??Select * Into C from 
(Select * from A
Union All
Select * from B) T

解决方案 »

  1.   

    insert into C 
    select * from A
    union all
    select * from B--楼上的会新建一个C,用我的吧.
      

  2.   


    看错了,如果C存在
    Insert Into C 
    Select * from A
    Union All
    Select * from B不存在
    Select * Into C from 
    (Select * from A
    Union All
    Select * from B) T
      

  3.   

    [Microsoft][ODBC SQL Server Driver][SQL Server]第 1 行: '(select bookclass_id from bookclass where Left(bookclass_code,len(strBooksClassID))= ' 附近有语法错误。
    ???
      

  4.   

    T是Select * from A
    Union All
    Select * from B生成的表的别名