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 |
|
sg2255551
Constraint Violating Yak Guru
274 Posts |
Posted - 2011-02-06 : 11:19:11
|
| hiI have a field name productrating and its data is thisProdA Good/Bad/WorstProdBProdCProdD Good/BadProdEProdF Satisfactory/UnsatisfactoryHow do I split them into row for exampleProdA GoodProdA BadProdA WorstprodAProdBProdCProdD GoodProdD BadProdDProdEProdF SatisfactoryProdF UnsatisfactoryProdFThanks a lot |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2011-02-06 : 11:47:54
|
| You can easily modify this technique: http://www.sqlteam.com/article/parsing-csv-values-into-multiple-rows |
 |
|
|
|
|
|