on 11-24-2019 7:40 PM
Hi,
I have a requirement to aggregate strings while creating a view in HDBDD. Requirement example is as below
Column A Column B
AA ABCD
AA WXYZ
Result should look like this
Column A Column B
AA ABCD, WXYZ
Please advise how to achieve this.
Thanks in advance,
Rosh
Use STRING_AGG SQL function
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
7 | |
6 | |
3 | |
3 | |
3 | |
3 | |
2 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.