DynDeveloper.com

DynDeveloper.com

Sign Up Now! Log In
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