SAP Knowledge Base Article - Preview

2391872 - SAP IQ. Left outer join query fails with error opt_QueryTree.cxx SQLCODE=-1001031

Symptom

A Left outer join query fails with error

Could not execute statement.

Non-aggregate select/having (IF ( yy._RowId IS NOT NULL) THEN CASE  WHEN
(yy.FLD3 = 'mmm') THEN 'MMM' ELSE yy.FLD3 END  ELSE NULL  ENDIF ) must
appear in the group by
-- (optlib\opt_QueryTree.cxx 1937)
SQLCODE=-1001031, ODBC 3 State="HY000"
File: "dbisql21.sql" on line 1, column 1


Read more...

Environment

SAP IQ 16 SP11 PL03.

Product

SAP IQ 16.0

Keywords

sybase, CR802691, CR#802691, 802691, dml_options11, CR799251 , 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.