🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5264

Re: Batching Inserts Help needed!

#5264
From: Yuancai (Charlie) Ye
Date: Wed, 27 Jun 2001 18:39
23 lines
1766 bytes
Hi,
    What is your backend database? If you use SQL Server, See the example
FastLoad (batch copy) at http://www.geocities.com/oledbpro for the fastest
speed. You can use a parameterized statement or stored procedure to add bulk
records with a single call (net trip). For details, see the examples
MultiProcs and OleDBExcel without involvement of a rowset. All of these
methods are advanced, and you can't see these methods from ADO or
ADOExpress.
    Cheers!!!

--
Yuancai (Charlie) Ye
See 28 OLEDB examples at http://www.geocities.com/oledbpro


"Jerry Gottesman" <jerry@jgottesman.com> wrote in message
news:3B373EEC.D476E2E@jgottesman.com...
> Can anyone point me to a complete example of  using batched appends
> (inserts). I have a master object with 50 details. Using the standard
> method is very slow!
>
> Thanks in advance!
>
Technical Details
Message-ID: <3b3a2552$2_1@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews
References: <3B373EEC.D476E2E@jgottesman.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,7cd742d35a6fb857
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-06-27 11:49:49 PST
Reply-To: "Yuancai \(Charlie\) Ye" <yekerui@yahoo.com>
From: "Yuancai \(Charlie\) Ye" <yekerui@yahoo.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3B373EEC.D476E2E@jgottesman.com>
Subject: Re: Batching Inserts Help needed!
Date: Wed, 27 Jun 2001 14:39:55 -0400
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 209.134.172.51
Message-ID: <3b3a2552$2_1@dnews>
X-Trace: dnews 993666386 209.134.172.51 (27 Jun 2001 11:26:26 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!sn-xit-02!supernews.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews