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!

getting rid of trim function

user8983130Jun 27 2020 — edited Jun 27 2020

Dear All,

Good day!!

In one of our prod db, the high consuming SQL's are consist of trim function. It's llike, .... where trim(id)=trim(user_id)/ id=trim(id); due to this , it's very frequent to observe full table scan.

How can we avoid trim function in such condition/alternative to trim?? Is it obvious full table scan when we use trim function??

Thanks in advance...

Comments
Post Details
Added on Jun 27 2020
3 comments
1,111 views