Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ">" in select-Statement
stupsnose schrieb:
> Maxim Demenko schrieb:
>
>> stupsnose schrieb: >> >>> Hello! >>> >>> I wonder if i can use something like >>> SELECT DECODE(a>b,0,1) FROM dual; >>> to check if a is greater then b? Can someone help me please? >>> >>> Thank you! >>> Stefan >> >> >> >> The simpliest approach would be to code that with a CASE - you can >> directly compare the values. If you must use decode however, it could be: >> >> Best regards >> >> Maxim
I found an example. Thank you. I use Oracle8i, think CASE is not implemented there, is it?
Stefan Received on Thu Jul 21 2005 - 03:57:39 CDT