steve gray 8/9/2011 7:24:58 AM

Semicolon separated contatoncated output in SQL Server

This script will give you a comma separated (or semicolon separated) list in SQL Server 2005. In other words, if you have a table with data like this:

item1
item2
item3

This code with give you:

item1, item2, item3

Version: Unknown or N/A
Section: SQL Scripts


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3