Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: Queries Are Slower After You Install Microsoft Jet 4.0 Service Pack 4 or Service Pack 5


View products that this article applies to.

This article was previously published under Q302496
Advanced: Requires expert coding, interoperability, and multiuser skills.

This article applies only to a Microsoft Access database (.mdb).

↑ Back to the top


Symptoms

After you apply Microsoft Jet 4.0 Service Pack 4 (SP4) or Microsoft Jet 4.0 Service Pack 5 (SP5) to the system, some queries in Access run five times slower.

Note Microsoft Jet 4.0 Service Pack 4 (SP4) is included with Microsoft Windows 2000 Service Pack 1 (SP1). Microsoft Jet 4.0 Service Pack 5 (SP5) is included with Microsoft Windows 2000 Service Pack 2 (SP2).

↑ Back to the top


Cause

This problem occurs when the query includes a user-defined function. If you run a query that contains a user-defined function that accepts no parameters in the WHERE clause, Jet 4.0 Service Pack 3 (SP3) and earlier versions first evaluate the function one time, and then use the results of this function in a WHERE clause that is sent to the back-end server. Jet 4.0 SP4 or SP5 runs the whole back-end query first. Then it applies the results of the function call to the query after the data is fetched. This makes performance slower.

↑ Back to the top


Resolution

This problem was corrected in Jet 4.0 Service Pack 6 (SP6) and later.
For additional information about how to obtain the latest Jet 4.0 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
239114� How To: Obtain the Latest Service Pack for the Microsoft Jet 4.0 Database Engine

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


Keywords: KB302496, kbprb, ocsso

↑ Back to the top

Article Info
Article ID : 302496
Revision : 3
Created on : 6/25/2004
Published on : 6/25/2004
Exists online : False
Views : 319