on 07-04-2011 3:56 PM
Hi,
Can any one help me rectify this error "query block has incorrect number of result columns ". I got this error once I added a new field into the resultant field. I did not alter anything in the existing query.
Thanks,
Sharmele.
Can you provide a little more detail? Is the query a double query with a UNION ALL somewhere in it? If so you would need to add the field into the second half of the double query as well, into the SELECT clause.
Assuming you are familiar with SQL, when you do the query preview you should be able to easily see your mistake. If you are not very familiar with SQL, I highly recommend working with someone on your team that understands proper SQL structure.
Howie Wexler,
Crafty Systems Inc.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.