Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

Comma delimited field into seperate rolls Expand / Collapse
Posted Tuesday, March 5, 2013 3:47 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Monday, March 3, 2014 11:29 AM
Points: 5, Visits: 29
I've got a field that contains a list of items which are separated by commas as below;

item1, item2, item3,

I want to display this field on the report in the following format;


Is there way to do this?


Post #1426706
Posted Tuesday, March 5, 2013 3:51 AM



Group: General Forum Members
Last Login: Today @ 7:32 AM
Points: 5,864, Visits: 5,846
Take a look in my signature for the string splitter, that should do what you want.

Want an answer fast? Try here
How to post data/code for the best help - Jeff Moden
When a question, really isn't a question - Jeff Smith
Need a string splitter, try this - Jeff Moden
How to post performance problems - Gail Shaw
CrossTabs-Part1 & Part2 - Jeff Moden
SQL Server Backup, Integrity Check, and Index and Statistics Maintenance - Ola Hallengren
Managing Transaction Logs - Gail Shaw
Troubleshooting SQL Server: A Guide for the Accidental DBA - Jonathan Kehayias and Ted Krueger

Post #1426709
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse