Alex K
12/04/2019, 1:36 PMGregory Jones
12/04/2019, 3:40 PMREGEXP_REPLACE(NS_CONCAT({contact.firstname}||' '||{contact.lastname}),',','<br>')
Gregory Jones
12/04/2019, 3:41 PMGregory Jones
12/04/2019, 3:42 PMAlex K
12/04/2019, 6:06 PMGregory Jones
12/04/2019, 6:21 PMGregory Jones
12/04/2019, 6:22 PMREGEXP_REPLACE(NS_CONCAT(DISTINCT({contact.firstname}||' '||{contact.lastname})),',','<br>')
Which has a DISTINCT around the concatenation of the first and last name, which should dedupe multiple instances.michoel
12/04/2019, 10:40 PMLISTAGG
(https://docs.oracle.com/cd/E11882_01/server.112/e41084/functions089.htm) over NS_CONCAT
. It's both officially documented/supported and more powerful. For example you can specify the delimiter instead of having to wrap in a REPLACE
(and avoid problems if the data itself contains a ,
)KevinJ of Kansas
12/05/2019, 1:52 AMGregory Jones
12/05/2019, 1:51 PM