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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2006-04-12 : 09:29:13
|
| Graham writes "I have a db that contains a column named DSCODES. Values in DSCODES are seperated by a comma.If I run the following command.select distinct(DSCODES) from DBThe following is returned.S100,S102,S103S100,S103,S105What I would like returned is the followingS100S102S103S105Is this possible?Thank you in advanceGraham" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
Posted - 2006-04-13 : 00:51:22
|
make use of CSVTable() here KH |
 |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2006-04-13 : 03:32:03
|
| >>"I have a db that contains a column named DSCODES. Values in DSCODES are seperated by a comma.Read about Normalisationhttp://www.datamodel.org/NormalizationRules.htmlMadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|