Article View: borland.public.cppbuilder.database.ado
Article #194Re: Fastest Way to Insert a Number of Records via SQL
From: Dan
Date: Tue, 05 Jun 2007 17:38
Date: Tue, 05 Jun 2007 17:38
11 lines
1599 bytes
1599 bytes
Vassiliev V. V. wrote: > It is difficult to say without seeing your code and data why TADOTable is > slow. If you have no BLOBs and not much columns, inserting 19000 rows should > take ~1-2 minutes. Transactions can be batched. Interesting.. 19000 rows in 2 minutes? Obviously one can cut and paste more than 19000 records in excel (I'm only doing 4 columns) in MUCH less than 2 minutes. I think I can have the same type of success copying from Excel and pasting in Access. How can I realize 'copy and paste' like performance inserting records in an Access database?
Technical Details
Message-ID:
<46659f88@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46645ac3@newsgroups.borland.com> <466477c6$1@newsgroups.borland.com> <466580d1@newsgroups.borland.com> <4665925c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,d0a6c05550b4cac9 X-Google-Attributes: gid10698b,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 05 Jun 2007 12:38:17 -0500 From: Dan <Dan@do.not.spam> User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.database.ado Subject: Re: Fastest Way to Insert a Number of Records via SQL References: <46645ac3@newsgroups.borland.com> <466477c6$1@newsgroups.borland.com> <466580d1@newsgroups.borland.com> <4665925c@newsgroups.borland.com> In-Reply-To: <4665925c@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 67.153.244.210 Message-ID: <46659f88@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1181065096 67.153.244.210 (5 Jun 2007 10:38:16 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail