SAP Knowledge Base Article - Preview

2476070 - UNION ALL query returns fewer rows than it should - SAP IQ


A UNION ALL query may return a number of rows that is not equal to the sum of the rows returned from the two queries.

Changing the number of rows in one of the source tables (that doesn't affect either query result) may cause a correct result to occur from the UNION ALL.



  • SAP IQ 16.0


SAP IQ 16.0


'Incorrect result',  'Union All', 'dml_options8' , parallel , , KBA , BC-SYB-IQ , Sybase IQ , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.