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!

Row column transformation

Mohamed EzzatJul 17 2016 — edited Jul 18 2016

Hello Experts,

I have a table of the data below, which is a hierarchical query result:

PRNTMBRLVL
10000000110000003
AccountBS1
BS100000002
11000000111000004

I need a PLSQL code that transforms to this:

L1L2L3L4L5
AccountBS100000001100000011100000

Any Ideas?...thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 15 2016
Added on Jul 17 2016
5 comments
881 views