Re: vb.net array to SQL server table
- From: "William \(Bill\) Vaughn" <billvaRemoveThis@xxxxxxxxxx>
- Date: Wed, 17 Aug 2005 09:52:15 -0700
I would take a different approach unless you don't mind waiting for 100,000
Inserts to execute. If you create a delimited file you can import the data
into your database. Most DBMS vendors have import utilities. SQL Server uses
DTS or BCP which can import delimited files in a small fraction of the time
it takes to perform INSERT operations.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"11Oppidan" <11Oppidan@xxxxxxxxxxxxxxxx> wrote in message
news:O5yvogroFHA.764@xxxxxxxxxxxxxxxxxxxxxxx
>I have generated 100k values in a vb.net array and I want to use them to
>update a field in 100k records in a sqls table that has an ID field 1-100k.
>I need the first record in the array to go in the record with id 1 etc.
>
> Does anyone have any good idea about hoe to do this nicely?
>
> thanks.
>
.
- References:
- vb.net array to SQL server table
- From: 11Oppidan
- vb.net array to SQL server table
- Prev by Date: Re: ADO.NET vs ADO question.
- Next by Date: How to get Environment.TickCount on Remote Server
- Previous by thread: Re: vb.net array to SQL server table
- Next by thread: ADO.NET vs ADO question.
- Index(es):
Relevant Pages
|