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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 string split

Author  Topic 

arusu
Yak Posting Veteran

60 Posts

Posted - 2010-10-21 : 17:35:21
Hi, i was wondering, if i have a string 'a,b,c,d,e' how do i split this to return a table with:
a
b
c
d
e

i am more interested in clear instructions rather then a complicated answer which will take long to understand. Don't really know how hard this is. Basically i want to make a function

Kristen
Test

22859 Posts

Posted - 2010-10-21 : 17:59:41
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=Best%20split%20functions
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-10-23 : 01:51:34
see

http://visakhm.blogspot.com/2010/02/parsing-delimited-string.html

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -