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 -> Re: SQL query; how to make a SELECT field ignore WHERE criteria

Re: SQL query; how to make a SELECT field ignore WHERE criteria

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Thu, 03 Mar 2005 20:26:40 +0100
Message-ID: <h6pe21tps7qnnfd7tfflsla4i0sc3sd7gf@4ax.com>


On 3 Mar 2005 09:38:06 -0800, jadamson60_at_go.com wrote:

>Hi
>
>I have an SQL query that I want to modify so that one of the fields
>that I am calling with the SELECT ignores one of the WHERE clause's
>(but the others still use it). I was thinking an OUTER JOIN might do it
>but it doesn't in this case; the WHERE clause still restricts the
>records outputted. What's the best approach to make this column
>independant from the specific WHERE clause (there are two comments (--)
>to indicate the fields) ? I'm using Oracle 9i:

Please clarify for yourself the purpose of the WHERE clause and acknowledge your question is unreasonable.

--
Sybrand Bakker, Senior Oracle DBA
Received on Thu Mar 03 2005 - 13:26:40 CST

Original text of this message

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