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
send a recordSet - string whit ""
ESXi 4.0 - virtual machine sees only one CPU
Seizing FSMO roles in Windows 2008R2
SharePoint 2010 Site creation Error
2 Pivot Tables in VBA
Importing .pk7b file
Time on workstation not updating
CSS display issue on number counter
saving some nodes to existing xml
VB.NET 2008 Dynamically Add Forms Controls Based on Directories and Files