Microsoft
Software
Hardware
Network
Question : ORDER BY items must appear in the select list if the statement contains a UNION operator.
i have done unions where i did not have to do any order bys.
But when I did a union of 2 select statements, I get the above error; why is this?
thanks
Answer : ORDER BY items must appear in the select list if the statement contains a UNION operator.
You can do it like this:
=iif(Fields!CustomerState.
Value = "NY", "Tri-State", iif(Fields!CustomerState.V
alue = "CT", "Tri-State",iif(Fields!Cus
tomerState
.Value = "NJ", "Tri-State", Fields!CustomerState.Value
)))
Random Solutions
What software is best for a "face finding" scan of images on my hard drive?
Delete worksheets in workbook
Unknown space after hot swap Raid 5
Why would Internet Explorer 8 not allow Google, Bing and Yahoo search web pages to open?
Button control not clicking in some environments
Wordpress on Godaddy Free Hosting
limit mysql insert to 22 players
receiving a few hundred Spam messages
Even more questions about compression/decompression.
Passed parameter used in select statement where column like the passed parameter