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
Connecting from remote
explain T-SQL query to me
DConcat not working - getting #Error in query results
Standards domain users to be allowed to RDP only to 1 standalone server that belongs to the same domain.
Not able to login as root after PAM configuration
Add Small Business Server to Existing Server 2003 Domain
how to simplify this
My web page has errors and doesn't work using IE8
Fill an array with smooth sequence of colours
How do I create a report in CRM 4.0 that details all activities by all users?