I have a need to concatenate all Descriptions from a select statement
SELECT
t_ReviewSection .PeerRevSection Description
FROM
t_ReviewSection
WHERE
t_ReviewSection .PeerRevID = @lngRevID
ORDER BY
t_ReviewSection .PeerRevSection Order
I want to return a single string "section1, section2, section3, section4"
based on the multiple rows returned.
Any ideas
SELECT
t_ReviewSection .PeerRevSection Description
FROM
t_ReviewSection
WHERE
t_ReviewSection .PeerRevID = @lngRevID
ORDER BY
t_ReviewSection .PeerRevSection Order
I want to return a single string "section1, section2, section3, section4"
based on the multiple rows returned.
Any ideas
Comment