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 or not decode?

decode or not decode?

From: gil guerillot <gil.guerillot_at_ratp.fr>
Date: Tue, 11 Sep 2001 16:51:44 +0100
Message-ID: <9nl87v$16h$1@gotix.reseau.ratp>


i have 3 fields A,B,C for each code but only one must be not null.

select code,a,b,c
from table

i want to find the rows where 0,2 or 3 fields are not null

i want to define a new field 'search_error' with decode clause but i don't know how!

thanks!!! Received on Tue Sep 11 2001 - 10:51:44 CDT

Original text of this message

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