Article View: borland.public.cppbuilder.database.ado
Article #3135Re: Table created via ADO/Jet twice as big as one created in Access
From: Mike Ruskai
Date: Fri, 15 Nov 2002 02:44
Date: Fri, 15 Nov 2002 02:44
36 lines
2615 bytes
2615 bytes
On Thu, 14 Nov 2002 17:52:57 -0800, Mike C wrote: >Not 100% sure here but you might try having a look at Compacting and >Repairing your database. Try it from within MS Access first, on the >oversized table i .e. Open 'Big' Database, Tools->Database >Utilities->Compact and Repair Database. I'm not talking about the database size, but the table size inside the database. I've since discovered that getting ADOX to work again created tables which weren't double-sized. >Don't really know why this should happen, but if performing a C&R operation >resolved your problem then drop me an e-mail and I can send you a code >snippet to perform this operation under C++Builder. I know how to do that programatically, but we're doing it manually at the same time the database password is being added, because the program allows one to append data. Compacting takes a long time (way too long - Access sits there with little CPU usage and very little disk access, doing who knows what), so we only want to do it once. >By the way, are you creating your table from within Builder, via an ADO >connection? Is so, how? I would like to see the code if possible. The problematic tables are created via SQL, using a TADOCommand object. Non-problematic tables can be created with ADOX (Catalog, Table, and Column objects). -- - Mike Remove 'spambegone.net' and reverse to send e-mail.
Technical Details
Message-ID:
<gunaalqrneguyvaxarg.h5ljlw0.pminews@207.105.83.65>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<gunaalqrneguyvaxarg.h5ezqm0.pminews@207.105.83.65> <3dd3e219@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10698b,754b3f7a2db5d101 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-11-14 19:08:06 PST Newsgroups: borland.public.cppbuilder.database.ado From: "Mike Ruskai" <spamten.knilhtrae@begonedynnaht.net> Message-ID: <gunaalqrneguyvaxarg.h5ljlw0.pminews@207.105.83.65> References: <gunaalqrneguyvaxarg.h5ezqm0.pminews@207.105.83.65> <3dd3e219@newsgroups.borland.com> Date: Thu, 14 Nov 2002 21:44:20 -0500 (EST) Reply-To: "Mike Ruskai" <spamten.knilhtrae@begonedynnaht.net> X-Newsreader: PMINews 2.00.1205 For OS/2 Organization: TLF MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Re: Table created via ADO/Jet twice as big as one created in Access NNTP-Posting-Host: 65.40.238.123 X-Trace: newsgroups.borland.com 1037328259 65.40.238.123 (14 Nov 2002 18:44:19 -0800) Lines: 38 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail