🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Quickest method to Transfer data from DB to another

#1886
From: Palmetzhofer Dietmar
Date: Mon, 12 Jan 2004 08:11
36 lines
2225 bytes
What kind of DB are you using?
Greetings,
Didi


"Daniel Stevenson" <d.stevenson@ocreage.com.au> schrieb im Newsbeitrag
news:400222b2@newsgroups.borland.com...
> I'm currently looking into alternate (and hopefully faster) ways of moving
> data from one database to another where the field names are the same in
each
> table and in some situations where some fields are not present within the
> new database.
>
> The original database has tables that are related to one another (ie. are
in
> master/detail relationship) and therefore data integrity needs to be
> maintained
>
> I currently move one record across to the new database at a time, then
check
> all other tables for records that are related to the master record and
copy
> those across before incrementing the master record, therefore keeping all
> the records in their correct relationship.
> I'm finding this method very slow especially with a database holding over
> 50,000 records.
>
> I was wondering if there was a bulk method of copying data or an SQL
method
> that might be faster.
>
> I'm currently using BCB6 with ADO and an Access database.
>
> Thanks
>
>
Technical Details
Message-ID: <400256b3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <400222b2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,3afb015c65de2408
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-12 00:18:15 PST
Reply-To: "Palmetzhofer Dietmar" <xxremovethisxx_dietmar.palmetzhofer@boku.ac.at>
From: "Palmetzhofer Dietmar" <xxremovethisxx_dietmar.palmetzhofer@boku.ac.at>
Newsgroups: borland.public.cppbuilder.database.ado
References: <400222b2@newsgroups.borland.com>
Subject: Re: Quickest method to Transfer data from DB to another
Date: Mon, 12 Jan 2004 09:11:46 +0100
Lines: 38
Organization: Univ. f. Bodenkultur
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: 62.46.231.113
Message-ID: <400256b3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1073895091 62.46.231.113 (12 Jan 2004 00:11:31 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail