Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Joining to select's not a union
Message
 
To
04/02/2005 15:55:52
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00984011
Message ID:
00984019
Views:
17
>How can I join the follwing to get a 1 record result set
>
>select 1 as a, 2 as b
>select 3 as c, 4 as d
>
>
>to end up with a resul set like
>
>a b c d
>- - - -
>1 2 3 4
>
>Paul


I am not sure if I understood You corectly but what about:
select 1 as a, 2 as b, 3 as c, 4 as d
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform