Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on Union All
Message
From
22/03/2010 11:35:37
 
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Environment versions
SQL Server:
SQL Server 2008
Application:
Web
Miscellaneous
Thread ID:
01455995
Message ID:
01456139
Views:
35
>In UNION queries only ORDER BY is applied to the final recordset. All other clauses belong to particular SELECT. Your query asks for 10 records from the first select and all records from the second select.

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform