A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Why does MSAccess cut query after 2886000 records



 
 
Thread Tools Display Modes
  #1  
Old March 5th, 2010, 07:35 PM posted to microsoft.public.access.queries
PhilK
external usenet poster
 
Posts: 1
Default Why does MSAccess cut query after 2886000 records

We have a large database (Access 2007 on XP) with a data table containing
over 10 million records. We have a series of queries and observed that one
query failed to return all records - It stopped after returning exactly
2,886,000 records. Rerunning the query produced results from all 10 million
records.

We made a copy of the database and issued the same set of queries.
Sometimes the set of queries produces the desired results from all data
records, while other times one (not always the same query) will truncate
after processing exactly 2886000 records.

Why does this happen and what can be done to guarentee good results.

  #2  
Old March 5th, 2010, 07:49 PM posted to microsoft.public.access.queries
Jerry Whittle
external usenet poster
 
Posts: 4,732
Default Why does MSAccess cut query after 2886000 records

With that many records, you just might be hitting the upper limit of Access.

How big is the database file? Have you done a compact and repair lately?

Do you do any sorting in the query? Next time it happens, remove the sorts
and see if it return all the records.

Maybe post the SQL statements of some of the queries that are having
problems. There might be a better way of running them.
--
Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


"PhilK" wrote:

We have a large database (Access 2007 on XP) with a data table containing
over 10 million records. We have a series of queries and observed that one
query failed to return all records - It stopped after returning exactly
2,886,000 records. Rerunning the query produced results from all 10 million
records.

We made a copy of the database and issued the same set of queries.
Sometimes the set of queries produces the desired results from all data
records, while other times one (not always the same query) will truncate
after processing exactly 2886000 records.

Why does this happen and what can be done to guarentee good results.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:23 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.