IQ is getting wrong results set even though there are data to meet the conditions.
SELECT ISNULL(A.PSTM_EXPI_YMD,'1111-01-01') as a
, ISNULL(A.EXPI_YMD,'1111-01-01') as b
, (CASE WHEN ISNULL(A.PSTM_EXPI_YMD,'1111-01-01') > ISNULL(A.EXPI_YMD,'1111-01-01')
END) AS MANGI_DATE
WHERE A.EDPS_CSN = B.EDPS_CSN
AND MANGI_DATE < DATE('20141130');
SAP IQ16 SP08.x less than SP8.7
incorrect result, coalesce, isnull, case expression, sybase, IQ, problem, incorrect, wrong, result, value , KBA , BC-SYB-IQ , Sybase IQ , Problem
About this pageThis is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).
Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.