Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Decode function to Oracle 7

Decode function to Oracle 7

From: <_at_rennes>
Date: Thu, 14 Oct 2004 15:02:42 +0200
Message-ID: <ckltdp$1ua$1@s5.feed.news.oleane.net>


I have that

select

decode(myNumberField > 0,
True, 'toto',
False, 'titi') MYRESULT

from RogerTable

Oracle 7 say "missing right parentheses" in the > caractere.

How could i make this test in oracle 7 Received on Thu Oct 14 2004 - 08:02:42 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US