Not sure why that tgml broke. maybe the +'s. Anyhow look into calling bcp to literally slame the csv into the table. This will be your fastest performaing solution. If your sql server has openrowset enabled you can also use it to grabt the csv and pull the data into sql server.
Avoid and I stress "Avoid" parsing the csv and sending hundreds if not thousands of inserts to the database. This is horribly bad and not needed. You should use the database servers provided tools to pick the best one.
[sub]____________ signature below ______________
You are a amateur developer until you realize all your code sucks.
Jeff Atwood[/sub]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.