SqlBulkCopy and Oracle?
From: Elton Wang (elton_at_discussions.microsoft.com)
Date: 12/24/04
- Next message: Diego Deberdt: "Re: Northwind ReportsTo NULL ComboBox"
- Previous message: TomTom: "Re: How can I prevent undesirable conversions done by ADO.NET?"
- In reply to: Bradley Plett: "SqlBulkCopy and Oracle?"
- Next in thread: Eric: "Re: SqlBulkCopy and Oracle?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 24 Dec 2004 13:46:01 -0800
In Sql-server, there are bcp utilities to accommodate
insert multi-rows data from data file into database. So
even in ADO.NET 1.1 without SqlBulkCopy class, we are
using StringBuilder to create data file, then use Bulk
Insert to save data into the database. Compare to looping
though each row insert, it's much faster. I suppose in
Oracle, there are similar utilities to accommodate bulk
insert.
Elton Wang
elton_wang@hotmail.com
>-----Original Message-----
>I have read a little about the new SqlBulkCopy in ADO.NET
2.0. It
>sounds like it's exactly what I need. However... is
there an
>equivalent for Oracle?
>
>What I'm looking for is the fastest way to get 100,000+
records into
>an Oracle database from a dataset. I'm very open to
suggestions.
>Presently we are looking at exporting from the dataset to
a CSV and
>then doing an external table mount from Oracle. Are
there any better
>ways?
>
>Thanks!
>Brad.
>.
>
- Next message: Diego Deberdt: "Re: Northwind ReportsTo NULL ComboBox"
- Previous message: TomTom: "Re: How can I prevent undesirable conversions done by ADO.NET?"
- In reply to: Bradley Plett: "SqlBulkCopy and Oracle?"
- Next in thread: Eric: "Re: SqlBulkCopy and Oracle?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|