|
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?".
As an Amazon Associate we earn from qualifying purchases.
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.