boolean functions?

Sven Köhler <[email protected]>
Newsgroups gmane.comp.db.sapdb.general
Message-ID <[email protected]>
hi,

it's just a style question, but since
   SELECT a OR b FROM table
doesn't work, i had to find out that i can use
   SELECT GREATEST(a, b) FROM table
instead.

GREATEST sees to behave like OR, and LEAST seems to behave like AND, but 
this is only due the fact, that true seems to be "greater" than false.

Is there any better way instead using GREATEST?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.