January 18, 2012 at 7:02 am
Hello, I am trying to parse data and put in seperate columns if possible. For example:
332|347
348|332|342|343
I want to have:
col1 col2 col3 col4
332 347
348 332 342 343
January 18, 2012 at 7:19 am
Jeff Moden wrote an excellent article that does exactly what you need. Click this link --> http://www.sqlservercentral.com/articles/Tally+Table/72993/%5B/url%5D
January 19, 2012 at 6:13 am
oradbguru (1/18/2012)
Hello, I am trying to parse data and put in seperate columns if possible. For example:
332|347
348|332|342|343
I want to have:
col1 col2 col3 col4
332 347
348 332 342 343
Does the actual data have the Pipe symbols in it? Also, since you're relatively new to the forum, take a look at the first link in my signature line below for how to get coded answers to your questions. Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
January 19, 2012 at 6:16 am
Jeff, yes the pipes are in the data. Thank you for the link as well!
February 5, 2012 at 4:00 pm
Just checking. Are you all set on this or do you need more help?
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2012 at 4:07 pm
I am all set Jeff. Thank you!
David
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply