Re: update 500000 records with adodb.recordset resize the mdb from 140M to 2G
- From: "William \(Bill\) Vaughn" <billvaRemoveThis@xxxxxxxxxx>
- Date: Fri, 22 Apr 2005 22:06:18 -0700
Each UPDATE causes a delete and insert. If you update every row, you double
the size of the database (at least). The upper limit of a JET database is
2GB. It sounds like you're trying to carry a ton of coal in Tupperware.
--
____________________________________
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
__________________________________
"00090" <706504N@xxxxxxxxxxxxx> wrote in message
news:Xns963FD5BA27E230140504NA02619@xxxxxxxxxxxxxxxx
>I have an access database with one table
> After I load the table with 500000 records, I compact the database
>
> now, when I update each record the table with VB6 and adodb.recordset, at
> the end, I get an error when I execute the recordset.update around the
> record # 430000 and the mdb file is around 2G
> the error is just "invalid argument" (the status value = 16 that is the
> adrecinvalid)
>
> when I debug the recordset, I can still see the fields values
>
> the table contains text fields, numeric and date values. but mostly, only
> text and numeric fields are updated.
>
> any ideas ?
>
> many thanks
>
.
- Prev by Date: Re: Migrating from Access to SQL Server 2000
- Next by Date: Re: ADO / SQL Server ODBC / Bookmarks
- Previous by thread: ADO->Jet, seek method EOF, all subsequent setting the index fails
- Next by thread: Re: update 500000 records with adodb.recordset resize the mdb from 140M to 2G
- Index(es):
Relevant Pages
|