


Expected Result:

Actual Result:

Looking at the SQL from the example above, the highlighted text shows a Cartesian join in a sub query of the Where clause:
select a13.[YEAR_ID] AS YEAR_ID,
sum(a11.[TOT_DOLLAR_SALES]) AS Revenue
from [DAY_CTR_SLS] a11,
[LU_CALL_CTR] a12,
[LU_DAY] a13
where a11.[CALL_CTR_ID] = a12.[CALL_CTR_ID] and
a11.[DAY_DATE] = a13.[DAY_DATE]
and ((exists (select *
from [LU_REGION] r11,
[LU_YEAR] r12
where r11.[REGION_ID] in (4)
and r12.[YEAR_ID] = a13.[YEAR_ID]))
and a12.[REGION_ID] in (4))
group by a13.[YEAR_ID]
In the new fix, incorrect Engine logic is corrected to check for cross joins in the SQL Where clause when Cartesian Join Warning is set to "Cancel Execution". It will prevent the report from executing when it previously did.
Strategy Internal Reference number for this technical note is KB483213 and DE24791.