On Fri, August 17, 2012 12:29 am, Bill Anderson wrote: > Store the AddBS() function and the cClaimsTable reference to variables, > then use those variables in the SELECT statement. > > You're evaluating each expression with every row.
I used TEXT/ENDTEXT and textmerged these all into my variable lcSQL (so the SQL has the full paths built in already now) and then did EXECSCRIPT(lcSQL) but I don't really know if I gained any noticeable speed or not. Bill -- are you sure on this tip? Does the FROM line really evaluate for EVERY row? Thanks, --Mike _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://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.

