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

Home -> Community -> Usenet -> c.d.o.server -> Decode / Case in IN_LIST

Decode / Case in IN_LIST

From: Craig Markowitz <craigmarkowitz_at_hotmail.com>
Date: 10 Dec 2002 07:17:57 -0800
Message-ID: <b578cb81.0212100717.78a11da1@posting.google.com>


Is there a way to use the decode() or case() function in an IN_LIST and pass a list of values?

Basically the psudo code is:

select ... from ...
where column in (if a then everything, else :value_list)

Has anyone tried this successfully? Received on Tue Dec 10 2002 - 09:17:57 CST

Original text of this message

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