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
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Inserting new rows from CSV

Author  Topic 

nmg196
Yak Posting Veteran

70 Posts

Posted - 2002-04-03 : 09:47:04
Hi,

I have a list of numbers like "23,43,98,343,2343" etc.. how can I pass in this list in the body of an SQL statement such that I can insert a new row in a table for each number?

I sort of need something like:

INSERT INTO foo
SELECT (23,43,98,343,2343)

Thanks,

Nick...

Jay99

468 Posts

Posted - 2002-04-03 : 09:49:06
try this

Jay
<O>
Go to Top of Page
   

- Advertisement -