I have the following:
BEGIN TRANSACTION
CREATE TABLE #temp
(
testing VARCHAR(MAX)
)
INSERT INTO #temp
( testing )
VALUES ('Boomerang')
INSERT INTO #temp
( testing )
VALUES ('Bowling')
INSERT INTO #temp
( testing )
VALUES ('Boxing')
INSERT INTO #temp
( testing )
VALUES ('Bull Fighting')
SELECT *
FROM #temp
ROLLBACK TRANSACTION
And I'm trying to display it as a single column result like the following:
Boomerang|Bowling|Boxing|Bull Fighting
However I've no idea how to do this. I've looked into Pivot but it doesn't seem to address my issue.