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 -> Help with SQL

Help with SQL

From: Paul Wiles <john_at_adzi.com>
Date: Mon, 19 Apr 1999 17:42:48 +0100
Message-ID: <371b5ad3@newsread3.dircon.co.uk>


I wish to write a SINGLE block of SQL which does the following:

update TABLE

       set COL_A = ('VAL_1' if VAR1 > VAR2,'VAL_2 if VAR1 < VAR2)

Can someone please help me with this?

Thanks

Paul Received on Mon Apr 19 1999 - 11:42:48 CDT

Original text of this message

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