I am working with SQL Server 2008 R2.
This is my table:
CREATE TABLE step
(
id int IDENTITY(1,1) NOT NULL PRIMARY KEY,
step_value nvarchar(max) NOT NULL
)
Currently there are 197 rows in step
table. I want to get all values of step_value
column as a single value with a semi-colon delimiter. How can I do that?
Some sample data:
Insert Into step(step_value)
Values ('a'),('b'),('c'),('d'),('<workflow name="DISCIPLINE_LETTER">'), (' <target>MEETING_INITIAL_MEETING_LETTER</target> ')
Thanks