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
windows 2008 Hyper-V
network name of a computer
PlaySound fails on Windows 7
ASP Quickie to read loacl Access DB & update one table from another
Exploit Virus Attached to bounced back delivery failures
Unrecognized attribute targetFramework error: W2003 & IIS 6
WSS 3.0 back to original
VMware seperating a Nic card
How do I change this JavaScript so it returns only one correct input and not two as it does now?
SQL SERVER 2005 - Problem with sp_addlinkedsrvlogin