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: SQLplus question unusual behavior

Re: SQLplus question unusual behavior

From: Arup Nanda <arupnanda_at_hotmail.com>
Date: Mon, 20 Jan 2003 17:30:06 -0800
Message-ID: <F001.005354C8.20030120173006@fatcity.com>


Chaim,

It was posted by John Shaw. And the figures showed 0 (not null) in the original posting.

Arup

>From: Chaim.Katz_at_Completions.Bombardier.com
>Reply-To: ORACLE-L_at_fatcity.com
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>Subject: Re: SQLplus question unusual behavior
>Date: Mon, 20 Jan 2003 13:23:54 -0800
>MIME-Version: 1.0
>Received: from newsfeed.cts.com ([209.68.248.164]) by
>mc5-f3.law1.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 20 Jan
>2003 13:42:42 -0800
>Received: from fatcity.UUCP (uucp_at_localhost)by newsfeed.cts.com
>(8.9.3/8.9.3) with UUCP id NAA55682;Mon, 20 Jan 2003 13:40:58 -0800 (PST)
>Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id 00535247;
>Mon, 20 Jan 2003 13:23:54 -0800
>Message-ID: <F001.00535247.20030120132354_at_fatcity.com>
>X-Comment: Oracle RDBMS Community Forum
>X-Sender: Chaim.Katz_at_Completions.Bombardier.com
>Sender: root_at_fatcity.com
>Errors-To: ML-ERRORS_at_fatcity.com
>Organization: Fat City Network Services, San Diego, California
>X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
>Precedence: bulk
>Return-Path: root_at_fatcity.cts.com
>X-OriginalArrivalTime: 20 Jan 2003 21:42:42.0304 (UTC)
>FILETIME=[DC619800:01C2C0CC]
>
>
>Arup,
>How about select * instead of select count... Maybe the data is there but
>something is wrong with sql*plus set up (numwidth) so that you don't see
>the count.
>( I know that sounds stranger than the original question, but from the
>query you posted it looks like the count(*) is null which can't be...)
>
>
>
>
>
>"John Shaw" <John.Shaw_at_correctionscorp.com>@fatcity.com on 01/20/2003
>03:39:43 PM
>
>Please respond to ORACLE-L_at_fatcity.com
>
>Sent by: root_at_fatcity.com
>
>
>To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
>cc:
>
>
>
>I wish it was - but that's not the case here.
>
> >>> arupnanda_at_hotmail.com 01/20/03 11:19AM >>>
>Check if there are two taables named FACILTY in your database.
>
>As SYS, check
>
>SELECT OWNER, Object_name, Object_type
>FROM DBA_OBJECTS
>WHERE UPPER(OBJECT_NAME) = 'FACILITY'
>
>Note the use of upper(). Someone might have defined the table in lowercase
>using quotes.
>
>CREATE TABLE FACILITY is not the same as CREATE TABLE "facility".
>
>HTH.
>
>Arup
>
> >From: "John Shaw" <John.Shaw_at_correctionscorp.com>
> >Reply-To: ORACLE-L_at_fatcity.com
> >To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> >Subject: SQLplus question unusual behavior
> >Date: Mon, 20 Jan 2003 07:30:45 -0800
> >MIME-Version: 1.0
> >Received: from newsfeed.cts.com ([209.68.248.164]) by
> >mc9-f3.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Mon, 20
>Jan
> >2003 08:01:55 -0800
> >Received: from fatcity.UUCP (uucp_at_localhost)by newsfeed.cts.com
> >(8.9.3/8.9.3) with UUCP id IAA19511;Mon, 20 Jan 2003 08:01:26 -0800
>(PST)
> >Received: by fatcity.com (26-Feb-2001/v1.0g-b72/bab) via UUCP id
>00534A0E;
> >Mon, 20 Jan 2003 07:30:45 -0800
> >Message-ID: <F001.00534A0E.20030120073045_at_fatcity.com>
> >X-Comment: Oracle RDBMS Community Forum
> >X-Sender: "John Shaw" <John.Shaw_at_correctionscorp.com>
> >Sender: root_at_fatcity.com
> >Errors-To: ML-ERRORS_at_fatcity.com
> >Organization: Fat City Network Services, San Diego, California
> >X-ListServer: v1.0g, build 72; ListGuru (c) 1996-2001 Bruce A. Bergman
> >Precedence: bulk
> >Return-Path: root_at_fatcity.cts.com
> >X-OriginalArrivalTime: 20 Jan 2003 16:01:55.0073 (UTC)
> >FILETIME=[40E1BF10:01C2C09D]
> >
> >I am trying to update a small table from a remote table with sqlplus
> >9.2.0.2 .
> >It seems to indicate that it has inserted 233 row into my local table -
> >however that doesn't really happen.
> >Am I suffering from a severe lack of caffine or is this really odd?
> >
> >SQL> select count(*) from facility;
> >
> >   COUNT(*)
> >----------
> >
> >
> >SQL> insert into facility (select * from facility_at_dev);
> >
> >233 rows created.
> >
> >SQL> select count(*) from facility;
> >
> >   COUNT(*)
> >----------
> >
> >
> >SQL> commit;
> >
> >Commit complete.
> >
> >SQL> select count(*) from facility;
> >
> >   COUNT(*)
> >----------
> >
>
>
>_________________________________________________________________
>STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
>http://join.msn.com/?page=features/junkmail
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author: Arup Nanda
>  INET: arupnanda_at_hotmail.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).
>
>
>
>
>
>
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.net
>--
>Author:
> INET: Chaim.Katz_at_Completions.Bombardier.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).



STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Arup Nanda
  INET: arupnanda_at_hotmail.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 Mon Jan 20 2003 - 19:30:06 CST

Original text of this message

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