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: Exact fetch

Re: Exact fetch

From: Jared Still <jkstill_at_cybcon.com>
Date: Fri, 22 Aug 2003 07:14:32 -0800
Message-ID: <F001.005CC384.20030822071432@fatcity.com>

7:24-sherlock:ts01:jkstill-0 > oerr ora 1422 01422, 00000, "exact fetch returns more than requested number of rows" // *Cause: The number specified in exact fetch is less than the rows returned.
// *Action: Rewrite the query or change number of rows requested

07:25:43 sherlock - jkstill_at_ts01 SQL>
07:25:43 sherlock - jkstill_at_ts01 SQL> drop table x;

Table dropped.

07:25:44 sherlock - jkstill_at_ts01 SQL>
07:25:44 sherlock - jkstill_at_ts01 SQL> create table x
07:25:44   2  as
07:25:44   3  select table_name
07:25:44   4  from user_tables
07:25:44   5  /

Table created.

07:25:44 sherlock - jkstill_at_ts01 SQL>
07:25:44 sherlock - jkstill_at_ts01 SQL> declare
07:25:44   2          y x.table_name%type;
07:25:44   3  begin
07:25:44   4          select table_name into y from x;
07:25:44   5  end;
07:25:44   6  /

declare
*
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows ORA-06512: at line 4

On Fri, 2003-08-22 at 07:44, roland.skoldblom_at_ica.se wrote:
> Hallo,
>
> anyon who can tell me whatthis mean`? I get it while I am trying to load some data in some tables?
>
> ORA-01422: exact fetch re
> turns more than requested number of rows
>
>
> Thanks in advance
>
>
> Roland S
>
>
>
>
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author:
> INET: roland.skoldblom_at_ica.se
>
> 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: Jared Still
  INET: jkstill_at_cybcon.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 Fri Aug 22 2003 - 10:14:32 CDT

Original text of this message

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