Hi All
I've got a rather large CSV file that is continually updating. It's currently at around 1000ish rows.
I'd like to create a script in ASP.NET using VB ? that will read the records directly into a database. I can then run this when the csv updates.
What's the best way of doing this? I keep reading about BULK insert, but when i try to do this I get an error somewhere along the lines of you not being able to use! (On laptop at the moment and don't have access to the files)
I'm using VS2008 and SQL 2005 express so any tips would be greatly appreciated. I guess I could read them into a dataset then update the database manually but this sounds really inefficient!
Regards
I've got a rather large CSV file that is continually updating. It's currently at around 1000ish rows.
I'd like to create a script in ASP.NET using VB ? that will read the records directly into a database. I can then run this when the csv updates.
What's the best way of doing this? I keep reading about BULK insert, but when i try to do this I get an error somewhere along the lines of you not being able to use! (On laptop at the moment and don't have access to the files)
I'm using VS2008 and SQL 2005 express so any tips would be greatly appreciated. I guess I could read them into a dataset then update the database manually but this sounds really inefficient!
Regards