Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Extract values from list....
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

14 Posts

Posted - 02/15/2006 :  14:40:44  Show Profile  Reply with Quote
I'm trying to create a procedure which will take in a list of type varchar as a parameter and then loop through and extract out the separate values from the list which are delimited by a comma, convert the extracted segment to a float and then store each indivisual value in a table.

I've not got a clue where to start, can someone please provide some suggestions.


Flowing Fount of Yak Knowledge

6065 Posts

Posted - 02/15/2006 :  14:45:44  Show Profile  Reply with Quote
check out this topic:

Best split function

Be One with the Optimizer

Edited by - TG on 02/15/2006 14:47:36
Go to Top of Page

Starting Member

14 Posts

Posted - 02/15/2006 :  15:04:09  Show Profile  Reply with Quote
Thanks for the link.

Go to Top of Page


United Kingdom
22859 Posts

Posted - 02/16/2006 :  06:01:07  Show Profile  Reply with Quote
Hi manny, Welcome to SQL Team!

Some other info on Splitting CSV type data:

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000