Re: Query Help
From: Doug Miller <spambait_at_milmac.com>
Date: Thu, 17 Jan 2008 00:29:55 GMT
Message-ID: <Uhxjj.171$so6.24@newssvr19.news.prodigy.net>
Date: Thu, 17 Jan 2008 00:29:55 GMT
Message-ID: <Uhxjj.171$so6.24@newssvr19.news.prodigy.net>
In article <ca0b7d13-f686-4233-8700-13316c17c3be_at_e25g2000prg.googlegroups.com>, Charles Hooper <hooperc2000_at_yahoo.com> wrote:
>If you are famailar with BASIC programming, a similar construct might
>look like this:
> IF (AGE <> 65) OR (AGE =3D 65 AND RETIRED =3D "Y") THEN
There's no point in examining AGE in the second clause.
IF (AGE <> 65) OR (RETIRED = "Y") THEN
has exactly the same effect.
-- Regards, Doug Miller (alphageek at milmac dot com) It's time to throw all their damned tea in the harbor again.Received on Wed Jan 16 2008 - 18:29:55 CST