Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Inline SQL

Author  Topic 

godspeedba
Yak Posting Veteran

90 Posts

Posted - 2010-01-05 : 04:55:37
Can UNION be used inline?

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2010-01-05 : 04:57:40
Why not?
Can you show an example where and how you want to do it?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

Lumbago
Norsk Yak Master

3271 Posts

Posted - 2010-01-05 : 05:16:19
Any valid sql can be run inline.

- Lumbago
http://xkcd.com/327/
Go to Top of Page

godspeedba
Yak Posting Veteran

90 Posts

Posted - 2010-01-05 : 05:48:58
It works, was an error in the order by which made it look like there was a fault at the word union, which made me question it. Cheers guys
Go to Top of Page
   

- Advertisement -