Skip to Main Content

DevOps, CI/CD and Automation

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!

Using Listagg in Oracle Report not working

1567114Jan 12 2017 — edited Jan 12 2017

Hello,

Need help for concatenating multiple row values of a column into single row.

In SQL listagg function is working but when I am using in Report Builder its showing :

pastedImage_0.png

I am using in SELECT clause

SELECT

listagg(nvl(hcp.phone_area_code,'')||'-'||nvl(hcp.phone_country_code,'')||'-'||nvl(hcp.phone_number,''),',') WITHIN GROUP (ORDER BY hcp.phone_number ASC)

INTO

l_ph_num

FROM

..........

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 9 2017
Added on Jan 12 2017
1 comment
2,638 views