Hello – The below update query takes over an hour to run so I need some help improving the performance.
When I run the same query as a select, it only takes a few minutes to complete and I can easily use the record selector to move to the last record.
I have already created an index on Sellable_Placeable_Starts.ACCESS_MEDIUM_NO and AGENCY_FINAL.cracct_no but the performance is still poor.
Does anyone have any suggestions?
Thank you!
(Both tables are local)
AGENCY_FINAL = 103,294 records
SELLABLE_PLACEABLE_STARTS = 106,193 records.
DoCmd.RunSQL "UPDATE Sellable_Placeable_Starts INNER JOIN AGENCY_FINAL ON Sellable_Placeable_Starts.ACCESS_MEDIUM_NO = AGENCY_FINAL.cracct_no SET Sellable_Placeable_Starts.MODEL_RANK2 = [Rank], Sellable_Placeable_Starts.MODEL_SCORE2 = [PayScore]"