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!

Split variable length string with delimiter and populate into columns in SQL

RotanAug 21 2016 — edited Aug 22 2016

Hi,

I have a requirement to split a string which can be of variable length and populate into the same row of a table where the parent string exists.

ID1ID2
String
Value1
Value2
value3
value4
......
100120011111#2222#3333<should have 1111><should have 2222><should have 3333>NULLNULL
10012002555#77<should have 555><should have 77>NULLNULLNULL
1001200388888#33#1119#777#5644<should have 88888><should have 33><should have 1119><should have 777><should have 5644>

I do not want to use PLSQL, Can this be done through SQL..

Any suggestions are appreciated..!!

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 19 2016
Added on Aug 21 2016
6 comments
2,040 views