The link below will be helpful to understand my question. As pooja mentioned about her output like a concatenated string, is it possible to get a new line after each concatenation like
1 Editor
Reviewer
7 EIC
Editor
Reviewer
the roles should be in a single cell though.
I have tried using char(13)
and char(10)
, but there is always something mismatch
with SQL Server 2012 I am using:
How to concatenate values with same id in sql
Can anyone please help?
Thanks!