Rocky Smolin - Beach Access Software
bchacc at san.rr.com
Mon Jun 2 16:59:26 CDT 2003
BerichtErwin: That helped immensely. Knocked the time down from 8:10 to 1:28. The fields were already indexed. Much obliged. Rocky ----- Original Message ----- From: Erwin Craps To: 'accessd at databaseadvisors.com' Sent: Monday, June 02, 2003 2:06 PM Subject: RE: [AccessD] Update Query - Need to Speed It Up put a filter on both fields for <> "" or <> 0 could speed thing up. This for updating only the records that are not already OK. This resulting that you will update less than 2,5M records. if necesary put indexes on fields.. Updating is slower than filtering... -----Oorspronkelijk bericht----- Van: Jim Dettman [mailto:jimdettman at earthlink.net] Verzonden: maandag 2 juni 2003 22:56 Aan: accessd at databaseadvisors.com Onderwerp: RE: [AccessD] Update Query - Need to Speed It Up What version of Access? Jim Dettman President, Online Computer Services of WNY, Inc. (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, June 02, 2003 4:47 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Update Query - Need to Speed It Up Dear List: I am running an update query on a table with 2,500,000 records and it's taking just a bit too long for the my and the client's liking. The SQL is: UPDATE tblInvoiceDetail SET tblInvoiceDetail.fldInvoiceDetailPPV = """", tblInvoiceDetail.fldInvoiceDetailVariancePercent = 0; It's setting one field to blank the other to 0. Is there a way to make it run any faster? MTIA, Rocky Smolin Beach Access Software ------------------------------------------------------------------------------ _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://databaseadvisors.com/pipermail/accessd/attachments/20030602/8a0c7b96/attachment-0003.html> -------------- next part -------------- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com