Sven K�hler wrote: > 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?
As MaxDB does not support AND/OR in the select-list, this seems to be the shortest (and 'best') way. Elke SAP Labs Berlin _______________________________________________ sapdb.general mailing list [EMAIL PROTECTED] http://listserv.sap.com/mailman/listinfo/sapdb.general
