
Originally Posted by
issacgeorge
Again,
select empno, ename, deptname
from emp, dept
where emp.deptno = dept.deptno (+) and
NVL(dept.LOCATION, 'TVM') = 'TVM'
But NVL is oracle specific.. so that too is not recommended..
The outer join syntax you are using is also Oracle specific, so wher's the point in not using NVL()?
Anyway, how about this one?
Code:
select empno, ename, deptname
from emp, dept
where emp.deptno = dept.deptno (+) and
dept.LOCATION(+) = 'TVM'
Jurij Modic
ASCII a stupid question, get a stupid ANSI
24 hours in a day .... 24 beer in a case .... coincidence?