Bill,
I would be curious if the Update would still be as slow with the new Batch
Update abilities of .NET 2.0.
http://msdn2.microsoft.com/en-us/library/aadf8fk2(en-US,VS.80).aspx
I would expect it to be slower then SqlBulkCopy but faster then .NET 1.1
updates.
Of course, based on the above link, batch updates do not appear to be
supported with Access...
--
Hope this helps
Jay
T.S. Bradley -
http://www.tsbradley.net
| Geoff - I wrote an article about this a while ago
|
http://www.knowdotnet.com/articles/datasetmerge.html and it's in VB.NET.
| Essentially what you do is configure two data adapters, one for the
source,
| one for the destination table. Then, set the AcceptChangesDuringFill
| property of th efirst one to false. This will fill the datatable and set
| the rowstate of each row to Added. Then use another dataadpter to point
to
| the destination table and call it's Update method, passing in the exact
same
| datatable you just filled. This will cause the adapter to fire the Insert
| command for each row, thereby adding the rows to the destination table.
|
| However, this is terribly inefficient as far as data transfer technologies
| go. Depending on what tools you have available though - it may be a
decent
| choice. If you're dealing with large amounts of data though - I'd
| definitely opt for another approach - ideally DTS.
|
| In the 2.0 Framework, tehre's a SqlBulkCopy object that does this
amazingly
| quickly -
http://msmvps.com/williamryan/archive/2004/07/10/9890.aspx
| however it's only for Sql Server so probably won't serve your needs in
this
| case, I mention it only as a point of reference.
|
| HTH,
|
| Bill