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 |
|
hnomani
Starting Member
35 Posts |
Posted - 2005-08-17 : 17:22:58
|
| I am trying to separate a comma separated string into a multiple rows value.Example:select 'LUN, NWL, VHI' as String1to display the result asString1LUNNWLVHIThe comma separated string is stored in a table and can have multiple values and the query that I am running needs to run based on the values in the string (IN caluse).Thanks |
|
|
AjarnMark
SQL Slashing Gunting Master
3246 Posts |
|
|
hnomani
Starting Member
35 Posts |
Posted - 2005-08-17 : 18:43:24
|
Thanks, this will work!quote: Originally posted by hnomani I am trying to separate a comma separated string into a multiple rows value.Example:select 'LUN, NWL, VHI' as String1to display the result asString1LUNNWLVHIThe comma separated string is stored in a table and can have multiple values and the query that I am running needs to run based on the values in the string (IN caluse).Thanks
|
 |
|
|
|
|
|