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!

Why trim is not working for this ?

2811876Jan 16 2015 — edited Jan 16 2015

Hi All,

I am trying to trim some text [given below], but trim is not 100% working for me..

SELECT TRIM(substr('1001345300            |246      |7690541001   |', 1, INSTR('1001345300            |246      |7690541001   |','|',1) - 1)) FROM dual;

Please help ASAP!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 13 2015
Added on Jan 16 2015
6 comments
1,991 views