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 -> Compare Values in a Decode

Compare Values in a Decode

From: <pjklimt_at_mailexcite.com>
Date: 1998/04/29
Message-ID: <6i7gcj$pcg$1@nnrp1.dejanews.com>#1/1

I want to compare a value in a Decode to see if it is greater then another value. Depending on the outcome I want to post a different message. for example in code I would write "IF (1 > 0){'True'}else{'False'}". I tried DECODE(FIELD > 0, TRUE, 'True', 'False) to no avail. Thanks in Advance.

-----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/ Now offering spam-free web-based newsreading Received on Wed Apr 29 1998 - 00:00:00 CDT

Original text of this message

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