August 1, 2010 at 1:06 am
Table Name: Busroute
Route Places
12G Florida, Vienna, Los Angels, ....
How to extract the value (Places) whenever delimiter (,) comes.
Eg., Florida
Vienna
Los Angels
August 1, 2010 at 1:43 am
You would need a split string function.
Search this site for "DelimitedSplit8K" for a very fast T-SQL solution.
Or have a look at Florian's blog for a comparison of different solutions including a CLR which is considered to be even faster than the solution I mentioned above.
August 2, 2010 at 11:00 am
Can any give me the easiest way to check?:
August 2, 2010 at 12:35 pm
This is the same issue discussed in your other thread. Storing multiple delimited values in a single column is absolutely horrible design and you'll end up with nothing but headaches and inefficiencies.
August 2, 2010 at 12:55 pm
chandrasekaran.ganapathy (8/2/2010)
Can any give me the easiest way to check?:
Yes: see my previous post.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply