© Kim Berg Hansen 2020
K. Berg HansenPractical Oracle SQLhttps://doi.org/10.1007/978-1-4842-5617-6_10

10. Creating Delimited Text

Kim Berg Hansen1 
(1)
Middelfart, Denmark
 

You learned in the previous chapter how to take a delimited text and split it to pieces, generating rows with one piece of text per row. Guess what, just like I did a chapter on pivoting after unpivoting, here comes a chapter showing how to take pieces of text in rows and aggregate them into delimited strings.

This is often much liked by users reading reports, where it is easier to get an overview if there is not a lot of repeated data in multiple rows with most columns identical and just a single column with different values. Sometimes you can do pivoting to alleviate that problem, ...

Get Practical Oracle SQL: Mastering the Full Power of Oracle Database now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.