Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Union and derived tables Expand / Collapse
Author
Message
Posted Wednesday, August 19, 2009 1:45 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 19, 2009 3:01 AM
Points: 3, Visits: 2
can we use (select * into) with union statement . If so what is the syntax
Post #773249
Posted Wednesday, August 19, 2009 2:21 AM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 7:57 AM
Points: 1,949, Visits: 8,311
Not much different


select a =1 into #tabx
union
select a=2





Clear Sky SQL
My Blog
Kent user group
Post #773277
Posted Wednesday, August 19, 2009 2:28 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, August 19, 2009 3:01 AM
Points: 3, Visits: 2
Thanks.!!
Post #773282
Posted Wednesday, August 19, 2009 4:07 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Sunday, July 3, 2011 7:09 AM
Points: 258, Visits: 494
Whoa! How does that work?

Random Technical Stuff
Post #773332
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse