Hi.....not sure if someone can help me or not....I made some changes to an SQL Query within Crystal Reports, specifically performing a UNION.....however, I get the following message:
(SQL Server)All queries in an SQL statement containing a UNION operator must have an equal number of expressions in their target lists.
Simple, right? Well, I've done other UNIONS for other reports, and they all work fine. I've checked, double checked, and had other people check my SQL for the report that I'm having problems with, and it's syntatically correct.....I have the same number of expressions in each SELECT statement......we believe that somewhere within Crystal Reports, something is defined in such a way that it's preventing me from performing a UNION within this one report....anyone have any ideas? Thanks!!!!
(SQL Server)All queries in an SQL statement containing a UNION operator must have an equal number of expressions in their target lists.
Simple, right? Well, I've done other UNIONS for other reports, and they all work fine. I've checked, double checked, and had other people check my SQL for the report that I'm having problems with, and it's syntatically correct.....I have the same number of expressions in each SELECT statement......we believe that somewhere within Crystal Reports, something is defined in such a way that it's preventing me from performing a UNION within this one report....anyone have any ideas? Thanks!!!!