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!

How to replace comma separated values with other values?

DannyS-OracleAug 10 2016 — edited Aug 12 2016

Hi guys, I am fairly new in Oracle SQL, hopefully someone with more experience can help me solving this problem:

I have this table of Service:

ID
Name
1Fusion
2Taleo

And also this table of Service Test:

ID
ID_Service
Test_Date
11,201-01-2016
2102-02-2016

Basically, I want to create a report in Oracle Apex with SQL, showing all of the Service Test data, but replacing the ID_Service with the name of the services. So the expected output is like this:

ID
Service(s)
Test_Date
1Fusion, Taleo01-01-2016
2Fusion02-02-2016

Is there a specific SQL function to replace the the comma-separated values with other values? Thank you in advance!

Danny

This post has been answered by mathguy on Aug 10 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 9 2016
Added on Aug 10 2016
12 comments
4,282 views