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!

Concatenating strings with new line format?

francislazaroJun 14 2010 — edited Jun 15 2010
I want to concatenate 2 strings arranging the resultant output in a new line format..

example:

RTRIM ( DECODE (UPPER (VPA.safety), 'TRUE', 'Safety, ')
|| DECODE (UPPER (vpa.effectiveness), 'TRUE', 'Effectiveness, ')
|| DECODE (UPPER (vpa.timeliness), 'TRUE', 'Timeliness, ')
|| DECODE (UPPER (vpa.equity), 'TRUE', 'Equity, ')
|| DECODE (UPPER (vpa.efficiency), 'TRUE', 'Efficiency'),
'TRUE', 'Patient Centeredness'
),
', '
) AS Concat_Text

I want to display the above output in new line

Safety
Effectiveness
Timeliness
Equity
Efficiency

Edited by: francislazaro on Jun 14, 2010 7:34 PM
This post has been answered by Nimish Garg on Jun 14 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 13 2010
Added on Jun 14 2010
6 comments
8,243 views