At 16:24 +0300 on 24/06/1999, Michael J Davis wrote:


>
> select * from chargehistory where "new" = 't';

If I may add, I always found the practice of comparing boolean values to
"true" or to "false" rather funny. You take a boolean value, and compare it
to 'true'. You get a boolean result that is the same:

Truth table of "new" = 't':

    new    new = true
    true   true
    false  false

So... isn't it just slightly more reasonable to use:

SELECT * from chargehistory WHERE "new";

Herouth

--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma


Reply via email to