NVL is degraing performance, any alternative [message #514439] |
Mon, 04 July 2011 13:53 |
|
goparaju
Messages: 54 Registered: June 2011
|
Member |
|
|
Hi Experts,
I working in 11.5.10 EBS and database 9i.
I have below query
begin
select empno,ename, sal, job
from emp
where empno=nvl(:eno,empno)
and ename=nvl(:ena,ename);
end;
Note: I have 10 nvl's in my query.
If i don't pass any parameter,it's taking very long time because of nvl condition. Could somebody help me how to improve the performance of above query, is there any alternative other than NVL function.
Kindly help me.
Thanks in advance
|
|
|
|
|
|
|
|
|
|
|
|