m***@mbsoftwaresolutions.com
2018-03-18 18:33:32 UTC
VFP9SP2 WestWind WebConnection App on WinServer 2012
I was looking at a notoriously slow query to see about optimizing it.
Using SYS(3054,11,"cmemvar"), I was able to do so, but during my
testing, I found that using MyDate BETWEEN Arg1 and Arg1 was the same
optimization-wise as BETWEEN(MyDate,Arg1,Arg2). Somewhere in history, I
thought that using VFP's native BETWEEN(field,d1,d2) was NOT Rushmore
friendly. However, testing with SYS(3054) showed otherwise!
Just an interesting find this weekend for me whilst debugging.
Carry on!
--Mike
_______________________________________________
Post Messages to: ***@leafe.com
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/***@mbsoftwaresolutions.com
** 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.
I was looking at a notoriously slow query to see about optimizing it.
Using SYS(3054,11,"cmemvar"), I was able to do so, but during my
testing, I found that using MyDate BETWEEN Arg1 and Arg1 was the same
optimization-wise as BETWEEN(MyDate,Arg1,Arg2). Somewhere in history, I
thought that using VFP's native BETWEEN(field,d1,d2) was NOT Rushmore
friendly. However, testing with SYS(3054) showed otherwise!
Just an interesting find this weekend for me whilst debugging.
Carry on!
--Mike
_______________________________________________
Post Messages to: ***@leafe.com
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/***@mbsoftwaresolutions.com
** 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.