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 Parsing

Author  Topic 

ann06
Posting Yak Master

171 Posts

Posted - 2008-04-12 : 08:48:51
I found an article about string parsing but its done using db2

http://www.ibm.com/developerworks/db2/library/techarticle/0303stolze/0303stolze1.html

can anybody translate to Transact SQL specifically the example of create function elemIdx i didnt understand how he used recursion may b cuz the language is odd to me i didnt get it

Thanks much

TG
Master Smack Fu Yak Hacker

6065 Posts

Posted - 2008-04-12 : 09:58:19
There is a lot on this site about parsing strings. Here's one (scroll down to the yellow highlighted sections):

http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=55210&SearchTerms=CSV,Splitting%20delimited%20lists,Best%20split%20functions

Be One with the Optimizer
TG
Go to Top of Page
   

- Advertisement -