Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Optimisation of code

419019Sep 18 2006 — edited Sep 19 2006
Hi all,
I have a piece of select which is taking too much time is there any way to further optimise this?

(SELECT rae.i, rae.b(bu_req,'Y',rae.p,'N',null) pr, rae.ccy,
gs.int_rec,
NVL (rdie.int_acc, 0) + NVL (rdie.int_adj, 0)
FROM rb_ac rae, rb_dr rdie, gl_sys gs, fm_gl fgm
WHERE rae.i = rdie.i(+)
AND rae.acct_st <> 'C'
AND gs.int_pa = fgm.gl_code
AND (NVL (rdie.int_accr, 0) + NVL (rdie.int_adj, 0)) <> 0
AND NVL (rdie.no_dr, 'Y') = 'Y'
AND rae.i > 0);


thnks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 17 2006
Added on Sep 18 2006
13 comments
320 views