Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Decode Statement
A typical Decode statement looks like this..
decode(value, if1, then1, if2, then2...)
Can the "if" values be replaced with a range? For instance, what if you wanted to check if "value" is between 1 and 10.
Could you do this...
decode(value, between 1 and 10, then1, if2, then2...) ?
Dennis Hancy
Eaton Corporation
Cleveland, OH
Received on Wed Oct 10 2001 - 14:01:44 CDT