avjoshi
IS-IT--Management
- May 12, 2003
- 221
For some reason I am not able to translet the old outer join syntax to the new one.
Here's my original query,
I translated it to the new syntax as as,
They are giving me different results. What am I missing in the construct?
Thanks in advance.
Anand
Here's my original query,
Code:
SELECT count(1)
FROM
table0 t0,
table1 t1,
table2 t2
WHERE
t1.col1 = t0.col1(+) AND
t1.col2 = t0.col2(+) AND
t1.col3 = t2.col3(+);
Code:
SELECT count(1)
FROM table0 t0
left join table1 t1 on t1.col1 = t0.col1 AND
t1.col2 = t0.col2
left outer join table2 t2 on t1.col3 = t2.col3;
They are giving me different results. What am I missing in the construct?
Thanks in advance.
Anand