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!

replace NVL

Tricampeon_1981Nov 11 2019 — edited Nov 11 2019

good morning friends

I have the next question .. how can I replace that AND NVL (A.TTRB_ANO_VIG, 1) <= 2019

is killing the table index

Version oracle 11g

--correct version

select *

    FROM TTRB_DEF_TAB_CPO_CMP A

   WHERE A.TTRB_RUT_EMP = '96571220'

     AND A.ttrb_est = 'COMPARACION'

     AND NVL(A.TTRB_ANO_VIG,1) <= 2019

This post has been answered by Anton Scheffer on Nov 11 2019
Jump to Answer
Comments
Post Details
Added on Nov 11 2019
5 comments
491 views