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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Strange behavior

RE: Strange behavior

From: Stephen Andert <StephenAndert_at_firsthealth.com>
Date: Wed, 07 Jan 2004 14:14:45 -0800
Message-ID: <F001.005DC052.20040107141445@fatcity.com>


alter session set sql_behavior = 'normal'

                  *

ERROR at line 1:
ORA-02248: invalid option for ALTER SESSION

Proof that there is nothing 'normal' about me <grin>

I ran my subquery separately looking for null's and it doesn't look like I have any. Here is what I did. Let me know if you think this would report any nulls.

select count(pearinternal) from common.pear where pear_clnt_src_cd = 'CCN';

COUNT(RPIINTERNAL)


              5347

select count(pearinternal) from common.pear where pear_clnt_src_cd = 'CCN'
and pearinternal is null;

COUNT(PEARINTERNAL)


                 0

select count(pearinternal) from common.pear where pear_clnt_src_cd = 'CCN'
and pearinternal is not null;

COUNT(PEARINTERNAL)


              5347

>>> Rajendra.Jamadagni_at_espn.com 01/07/04 02:04PM >>>
alter session set sql_behavior = 'normal' /

seriously ... me thinks that you have a NULL value returned by your subquery.

Raj


-----Original Message-----
Sent: Wednesday, January 07, 2004 3:55 PM To: Multiple recipients of list ORACLE-L

Mike,

Thanks for the tip, but I have already prefixed the owner for both tables so that shouldn't be a problem. That did give me an idea for som
additional testing. When I made a smaller copy of the PEAR table, all queries work correctly. This tells me there might be something "unique"
about the original table.

I'll be doing more testing. Stay tuned and I'll post updates as I make
new discoveries.

Thanks
Stephen

-- 


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Stephen Andert
  INET: StephenAndert_at_firsthealth.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Wed Jan 07 2004 - 16:14:45 CST

Original text of this message

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