Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
bholmstrom
Yak Posting Veteran
76 Posts |
Posted - 2013-11-08 : 13:11:36
|
Good afternoon, I have a table that has several fields that contain multiple user names sepearted by a ";". I am trying to extract all of the names into one column so I can then compare it against our active directory.It would be nice if there was list of names, not duplicated.Example:Row 1Field1 'Mary Beth Underwood'Field2 'Bryan Flinstone'Field3 'Mary Beth Underwood;George Test'Field4 'Hank String'Row 2Field1 'Gary Strong'Field2 'Barney Ted;George Bishop; Hank String'Field3 'Liz What;Ted Notime'Field4 'Henry Franks'What I would like to see is a list like this:Barney TedBryan FlinstoneGary StrongGeorge BishopGeorge TestHank StringHenry FranksLiz WhatMary Beth UnderwoodThank you for your always prompt responsesBryan Holmstrom |
|
Lamprey
Master Smack Fu Yak Hacker
4614 Posts |
|
|
|
|