On July 29, 2014 8:06:34 PM EDT, Sytze de Boer <[email protected]> wrote: >Everyone, thank you for your help. >My old routine took point 419 seconds, the new routine point 350 > >This leads to my next question >Which of the two methods is *better* (i.e. used by experts) >1 Update, set etc >2 Scan/endscan with replace >3 set a relation and replace all > >By *better*, I'm referring to speed and record/file locking. > >
If my memory serves, the Update-SQL will temporarily lock the file header. The others, depending on mulitlocks and buffer settings, will only lock the current record, or records effected. If you are using indexes, the speed differences of each of these will be minor. -- Tracy _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

