Whats wrong here?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • theJonster
    New Member
    • Feb 2007
    • 20

    Whats wrong here?

    SELECT *
    into #temp
    FROM
    (SELECT *
    FROM vwActor

    UNION

    SELECT *
    FROM vwDirect)

    tryin to put contents of both views into one temp table...both hav same fields.

    Thnks
  • almaz
    Recognized Expert New Member
    • Dec 2006
    • 168

    #2
    Please don't create several topics for the same problem


    Try this:
    Code:
    SELECT *
    into #temp
    FROM 
    (SELECT * 
    FROM vwActor
    
    UNION
    
    SELECT *
    FROM vwDirect) Source

    Comment

    Working...