× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 6/29/2012 8:41 AM, Dennis wrote:
The other thing I would change, for clarity and simplicity, is to avoid "WHERE A>= B AND A<= C" statements, preferring instead "WHERE A BETWEEN B AND C"

I might argue that unless you're familiar with BETWEEN you might not know that it is inclusive. Without knowing the convention, it's just as possible that BETWEEN B and C could exclude the values B and C. By explicitly stating >= B and <= C, it's a bit more self documenting at least to old geezers like me. :) And believe me, I love writing less words, and I even use BETWEEN on occasion, but I do find myself every once in a while saying "Okay, BETWEEN is inclusive, not exclusive, right?".

Joe

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.