troubleshooting Question

Access update query takes 1 minute+ to run. Ideas to improve speed?

Avatar of kevin1983
kevin1983Flag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft AccessMicrosoft SQL ServerSQL
9 Comments2 Solutions418 ViewsLast Modified:
Hi Experts,

I currently have an Access 2010 query with uses one SQL table and one SQL view.
1) DATA-LOAD_SHEET  2) dbo_View_LoadSheetTopDelNo
This query updates the delivery number (DelvNum) and Postcode details in the DATA-LOAD_SHEET table from the dbo_View_LoadSheetTopDelNo SQL view (these two fields can change quite often so query needs to run to update them). The problem is the query takes a long time to run - usually about 1 minute or more.

The DATA-LOAD_SHEET table currently only has 77 records and the dbo_View_LoadSheetTopDelNo has 7177 records. Opening the two tables individually do not take too long to open. The larger table takes a bit longer. So it seems it’s the query that’s the issue. Any ideas on how I could improve the speed of this query?

Access SQL view is as below:

UPDATE dbo_View_LoadSheetTopDelNo INNER JOIN [DATA-LOAD_SHEET] ON dbo_View_LoadSheetTopDelNo.DocNum = [DATA-LOAD_SHEET].OrderNum SET [DATA-LOAD_SHEET].DelvNum = [dbo_View_LoadSheetTopDelNo].[highest_delivery_number], [DATA-LOAD_SHEET].POSTCODE = [dbo_View_LoadSheetTopDelNo].[ZipCode];

Join our community to see this answer!
Unlock 2 Answers and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros