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 -> How To Do This In Oracle

How To Do This In Oracle

From: Adam Wesley <aw78834_at_hotmail.com>
Date: Thu, 28 Mar 2002 20:44:09 -0500
Message-ID: <a80fuq$2ke$1@slb1.atl.mindspring.net>


With Microsoft Access, to assign a conditional value to a calculated field I use the IIf() function as below:

SELECT Iff([Paid], NULL, [InvoiceAmt])

This is interpreted as: if the Paid field value is true, then make the calculated field value null (blank); otherwise, make the calculated field value the same as the InvoiceAmt field value.

How to do this in oracle? Thanks in advance. Received on Thu Mar 28 2002 - 19:44:09 CST

Original text of this message

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