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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Row to Column conversion example in Oracle

994122May 28 2014 — edited Jun 2 2014

Hi all,

source table:
c_bo_cntc(phone_type,phone_num)

source data exmple:
PH,123
PH,124
TPH,128
TPH,231
......
total 3000 records

TARGET table:

RR_CNTC(emp_phone_num,emp_tina_num)

TARGET data example:
123,128
124,231
......
It is a Row to Column conversion example in Oracle...
Also is it mandatory to use the aggregate function inside pivot()?
can some help me in this case.

Thanks

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 30 2014
Added on May 28 2014
10 comments
520 views