On Sun, 20 Jun 2021, at 13:39, Paul Gilmartin wrote:
> On Sun, 20 Jun 2021 10:48:09 +0100, Jeremy Nicoll wrote:

> >Really?  What's wrong with
> >
> >select
> >  when name='' then nop
> >  when st<>'NC' then nop
> >  when GetAmount(userID) > 9999 then nop
> >  otherwise call ProcessUser
> >end
> >
> I dislike the negative logic, even as I'd rarely code:
>     if X<>Y
>         then nop
>         else whatever

So what would you do?  Suppose it'd not just three things
that need to be exclued first but, say, twenty? 

-- 
Jeremy Nicoll - my opinions are my own.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to