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!

Remove repeating letters

User_F2HJQJan 8 2013 — edited Jan 8 2013
11gR2 DB

We have a string token with all small leters (Sample - abcdaeebfghiejklc)

Need to remove all the repeating letters in this tring. Output should be abcdefghijkl

I know how to do it by splitting the string into multiple rows, then use listagg to make it a string.

But can we do it use without using any kind of row generation. By regexp or something?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 5 2013
Added on Jan 8 2013
37 comments
4,147 views