ORA-01422 Error While Doing Insert

Hello,
I am trying to do a insert using the following code
declare
i number;
ret varchar2(1000);
ret2 varchar2(1000);
ret3 varchar2(1000);
begin
FOR I IN 1..20 LOOP
select sl_no ,ename,addr into ret,ret2,ret3
from
(select u.sl_no as sl_no,
(select ename from table where sl=1  and des  = 1 ) as ename ,
T.addr as addr  from
tab1 t,tab2  u
where
U.cd = T.cd
and U.code = T.code and U.sl=0+i
union all
select u.sl_no as sl_no,
(select ename from table where sl=1  and des  = 1 ) as ename ,
T.addr as addr  from
tab1 t,tab2  u
where
U.cd = T.cd
and U.code = T.code and U.sl=0+i);However I am getting error
ORA-01422: exact fetch returns more than requested number of rowsHow could I resolve this problem
Thanks

@OP,
Some of the points in your "FULL CODE".
1.You are selecting in a FOR I 1..20 LOOP... The SELECT statement has INTO clause. With UNION (ALL) may be you are expecting (and getting) more than one row in which case you need to define cursor and fetch from the cursor .
2. You have a COMMIT within the loop, it may be ok if you want to commit 20 times! In general, Please commit when the logical unit of work (LUW) is completed. In my experience LUW is normally not completed within a loop.
3. Why even have a LOOP and PL/SQL procedural code?
Why not do the following...
insert into my_table(sl_no,ename,addr)
select sl_no ,ename,addr into ret,ret2,ret3
     from
     (select u.sl_no as sl_no,
     (select ename from table where sl=1  and des  = 1 ) as ename ,
     T.addr as addr  from
     tab1 t,tab2  u
     where
     U.cd = T.cd
     and U.code = T.code and U.sl=0+i
     union all
     select u.sl_no as sl_no,
     (select ename from table where sl=1  and des  = 1 ) as ename ,
     T.addr as addr  from
     tab1 t,tab2  u
     where
     U.cd = T.cd
     and U.code = T.code and U.sl=0+i);4. If you absolutely have to have PL/SQL code try something like folloing...
declare
i number;
ret varchar2(1000);
ret2 varchar2(1000);
ret3 varchar2(1000);
begin
FOR I IN 1..20 LOOP
  FOR x in (              -- "Added"
     select sl_no ,ename,addr into ret,ret2,ret3
     from
     (select u.sl_no as sl_no,
     (select ename from table where sl=1  and des  = 1 ) as ename ,
     T.addr as addr  from
     tab1 t,tab2  u
     where
     U.cd = T.cd
     and U.code = T.code and U.sl=0+i
     union all
     select u.sl_no as sl_no,
     (select ename from table where sl=1  and des  = 1 ) as ename ,
     T.addr as addr  from
     tab1 t,tab2  u
     where
     U.cd = T.cd
     and U.code = T.code and U.sl=0+i)
   LOOP ;                -- "Added"
   insert into my_table(sl_no,ename,addr)
   values (ret,ret2,ret3);
end loop;               -- "Added"
commit;
end loop;
end;vr,
Sudhakar B.

Similar Messages

  • Ora-00604,ora-01422 error while dropping the table

    Hi gurus,
    I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
    ORA-00604 : error occurred at recursive sql level 1.
    ORA-01422: exact fetch returns more than requested number of rows.
    Need urgent help.
    Thanks in advance

    Is there an AFTER EVENT trigger defined on this database? Can you check that?
    Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly).

  • [Q] ORA-30510 error while doing full database import

    We have ORACLE 9.2.0.6 on Redhat LINUX AS 3.4. while we doing "full database import" there has ORA-30510 come out. I searched Metalink and Google, but not found much information. The error messages on import are:
    . importing OUTLN's objects into OUTLN
    . importing SYSTEM's objects into SYSTEM
    . importing TKOWNER's objects into TKOWNER
    IMP-00017: following statement failed with ORACLE error 30510:
    "CREATE TRIGGER "TKOWNER".TRIG_DONOTANALYZE before analyze on schema decla"
    "re begin if sys.dictionary_obj_name = 'MYWTKEMPLOYEE' then raise_ap"
    "plication_error(-20101, 'Do Not ANALYZE MYWTKEMPLOYEE'); end if; end; "
    IMP-00003: ORACLE error 30510 encountered
    ORA-30510: system triggers cannot be defined on the schema of SYS user
    . importing SYS's objects into SYS
    . importing TKOWNER's objects into TKOWNER
    About to enable constraints...
    Import terminated successfully with warnings.

    877410 wrote:
    Hi I get the following ierrors while importing a schema from prod to dev database... can anyone help ,thanks!
    impdp system DIRECTORY=DATA_PUMP_DIR DUMPFILE=abcdprod.DMP LOGFILE=abcdprod.log REMAP_SCHEMA=abcdprod:abcddev
    ORA-39002: invalid operation
    ORA-31694: master table "SYSTEM"."SYS_IMPORT_FULL_01" failed to load/unload
    ORA-31644: unable to position to block number 170452 in dump file "/ots/oracle/echo/wxyz/datapump/abcdprod.DMPpost complete command line for the expdp that made the abcdprod.DMP file

  • Dbms_xmlschema.registerschema, (ORA-31084: error while creating table )..

    Hello,
    I have some problems with dbms_xmlschema.registerschema
    My database is: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    My XSD schema is (SEPA pain.002.001.03.xsd) also available on this url: http://code.google.com/p/leontestbed/source/browse/trunk/bc2/sample/Schema/pain.002.001.03.xsd?r=241
    After
    begin
       DOK_XML_UTIL.p_vnesi_xsd_blob(401941242); -- store a XSD on file system from blob field
       dbms_xmlschema.registerschema(
        schemaurl => 'http://localhost/TEST1.XSD',
        schemadoc => bfilename('ETAX_LOAD','TEST1.XSD'),
        csid => nls_charset_id('AL32UTF8'));
    commit;
    end;I get:
    ORA-31084: error while creating table "INIS_PROD"."Document2781_TAB" for element "Document"
    ORA-02320: failure in creating storage table for nested table column "XMLDATA"."CstmrPmtStsRpt"."OrgnlPmtInfAndSts"
    ORA-01792: maximum number of columns in a table or view is 1000
    ORA-02310: exceeded maximum number of allowable columns in table
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 37
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 65
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 136
    ORA-06512: at line 4
    What I'am doing wrong or what is the reason for this error..

    Arrgghhh.....
    begin
       DOK_XML_UTIL.p_vnesi_xsd_blob(401941242);
       dbms_xmlschema.registerschema(
        schemaurl => 'http://localhost/TEST1.XSD',
        schemadoc => bfilename('ETAX_LOAD','TEST1.XSD'),
        csid => nls_charset_id('AL32UTF8')
        , local => true
      , genTypes => false
      , genTables => false);
    commit;
    end;sorry...

  • Error while doing recovrry

    HI
    I am getting the bellow error while doing the standby recovery
    SQL> recover datafile 1;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1: '/pchpgi/oradata/data02/system01.dbf'
    SQL> select *from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL>
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1: '/pchpgi/oradata/data02/system01.dbf'
    Thanks
    Edited by: 887400 on Dec 3, 2011 4:37 PM

    887400 wrote:
    HI
    I am getting the bellow error while doing the standby recovery
    SQL> recover datafile 1;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1: '/pchpgi/oradata/data02/system01.dbf'
    SQL> select *from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL>
    SQL> recover standby database;
    ORA-00283: recovery session canceled due to errors
    ORA-01124: cannot recover data file 1 - file is in use or recovery
    ORA-01110: data file 1: '/pchpgi/oradata/data02/system01.dbf'
    Thanks
    Edited by: 887400 on Dec 3, 2011 4:37 PM
    01124, 00000, "cannot recover data file %s - file is in use or recovery"
    // *Cause:  An attempt to do media recovery found that the file was not
    //          available for recovery. Either it is online and the database is
    //          open in some instance, or another process is curently doing
    //          media recovery on the file.
    // *Action: Do not do media recovery.

  • ORA-2002 : error while writing to audit trail

    Hi all ,
    I am oracle 11g and on SPARC OS.
    I enabled audit in my database by setting the parameter audit_trail=DB and then i restarted my instance.
    On doing so the database started but whenever i am trying to connect using pl/sql developer , i am getting the following list of errors :
    ORA-00604 : error occured at recursive SQL level 1
    ora-00904 : "DBID" invalid identifier
    Ora-02002 : error while writing to audit trail
    ORA-00604 : error occured at recursive SQL level 1
    ora-00904 : "DBID" invalid identifier
    I checked on the net for ora-02002 and increased the size of the system tablespace from 750 M to 1000M.
    My system tablespace is dictionary managed.
    bounced the database also , but still getting the same errors.
    please help
    regards
    KKukreja
    Edited by: ~JuniorDBA~ on Dec 20, 2010 8:59 PM

    Hi Nicolas,
    here is the output
    SQL> desc sys.aud$
    Name                                      Null?    Type
    SESSIONID                                 NOT NULL NUMBER
    ENTRYID                                   NOT NULL NUMBER
    STATEMENT                                 NOT NULL NUMBER
    TIMESTAMP#                                         DATE
    USERID                                             VARCHAR2(30)
    USERHOST                                           VARCHAR2(128)
    TERMINAL                                           VARCHAR2(255)
    ACTION#                                   NOT NULL NUMBER
    RETURNCODE                                NOT NULL NUMBER
    OBJ$CREATOR                                        VARCHAR2(30)
    OBJ$NAME                                           VARCHAR2(128)
    AUTH$PRIVILEGES                                    VARCHAR2(16)
    AUTH$GRANTEE                                       VARCHAR2(30)
    NEW$OWNER                                          VARCHAR2(30)
    NEW$NAME                                           VARCHAR2(128)
    SES$ACTIONS                                        VARCHAR2(19)
    SES$TID                                            NUMBER
    LOGOFF$LREAD                                       NUMBER
    LOGOFF$PREAD                                       NUMBER
    LOGOFF$LWRITE                                      NUMBER
    LOGOFF$DEAD                                        NUMBER
    LOGOFF$TIME                                        DATE
    COMMENT$TEXT                                       VARCHAR2(4000)
    CLIENTID                                           VARCHAR2(64)
    SPARE1                                             VARCHAR2(255)
    SPARE2                                             NUMBER
    OBJ$LABEL                                          RAW(255)
    SES$LABEL                                          RAW(255)
    PRIV$USED                                          NUMBER
    SESSIONCPU                                         NUMBERsince i took over the database , no one did anything ... i only truncated the aud$ table today.
    But while going through the files i came across a SQL file that had this content :
    more move_audit.sql
    create table system.aud$
    tablespace AUD_TSP
    as select * from aud$;
    create index system.i_aud1 on system.aud$(sessionid, ses$tid);
    rename aud$ to aud$_temp;
    create view aud$ as
    select * from system.aud$;
    connect system/XXXXX
    grant all on aud$ to sys with grant option;
    grant delete on aud$ to delete_catalog_role;Now I am not sure what has happened and who has done what,but when i checked on TOAD, system tablespace had aud$ table and there was no table in tablespace AUD_TSP.
    thanks and regards
    Kkukreja
    Edited by: ~JuniorDBA~ on Dec 21, 2010 12:55 AM

  • ORA-19870: error while restoring backup piece -- file exists in ASM

    [oracle@rs1pre92dvdbsa01 ~]$ rman target sys/c9nv9sd9t9f11e@mdm11 auxiliary /
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Oct 29 10:41:38 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: MDM (DBID=1485385044)
    connected to auxiliary database: MDM (not mounted)
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 29-OCT-10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=13 device type=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    executing Memory Script
    Starting restore at 29-OCT-10
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    channel ORA_AUX_DISK_1: ORA-19870: error while restoring backup piece +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-19505: failed to identify file "+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607"
    ORA-17503: ksfdopn:2 Failed to open file +MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607
    ORA-15012: ASM file '+MDMDG2/mdm1/autobackup/2010_10_29/s_733654605.283.733654607' does not exist
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 10/29/2010 10:42:00
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    RMAN>
    ASMCMD [+mdmdg2] > cd mdm1
    ASMCMD [+mdmdg2/mdm1] > ls
    CONTROLFILE/
    FLASHBACK/
    ONLINELOG/
    arch/
    autobackup/
    ASMCMD [+mdmdg2/mdm1] > cd autobackup
    ASMCMD [+mdmdg2/mdm1/autobackup] > ls
    2010_10_29/
    ASMCMD [+mdmdg2/mdm1/autobackup] > cd 2010_10_29
    ASMCMD [+mdmdg2/mdm1/autobackup/2010_10_29] > ls
    s_733654605.283.733654607
    As seen in asmcmd "s_733654605.283.733654607" file exists in +mdmdg2/mdm1/autobackup/2010_10_29 then why it is complaning that it can't find the file.
    and also How to open/view file in asmcmd

    [oracle@rs1pre91dvdbaa01 utl]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Fri Oct 29 13:11:44 2010
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> startup;
    ORA-01078: failure in processing system parameters
    ORA-29701: unable to connect to Cluster Synchronization Service
    I have rebooted both the RAC servers and I can't start database?
    I was under the impression that Database should be automatically started as part of Clusterware
    Please help urgent.

  • Want to save time while doing inserts or updates using JDBC

    I want to save time while doing inserts/updates in a database in my Java app. using JDBC. My app. has to do a lot of inserts and that takes up a lot of time.
    I can do some buffering and then do bulk/batch inserts if that will help. any pointers on whether this will be useful and how to go about it?
    Is there any other way I can save time and thereby improve performance?
    I am using Oracle 8 with Oracle thin driver.
    Thanks

    I tried using the PreparedStatement.addBatch() and PreparedStatement.executeBatch() in a test program.
    The error is SQLException - "Unsupported feature" which I get at the addBatch method call. I am using oracle thin driver sdk 8.1.6 for jdk 1.2.x
    What is wrong here?
    Thanks

  • Getting error while doing stream setup through OEM

    hi all,
    I am getting following error while doing stream setup for user stradmin (ORCL) db to stradmin_dest (orcldestination) on same windows m/c.
    java.sql.SQLException: ORA-20204: User does not exist: STRADMIN ORA-06512: at "SYSMAN.MGMT_USER", line 122 ORA-06512: at "SYSMAN.MGMT_JOBS", line 139 ORA-06512: at "SYSMAN.MGMT_JOBS", line 78 ORA-06512: at line 1
    I provided everything (host credential, usernames for new users and table capture)
    its urgent
    Help in advance

    hi,
    thanks for reply but DB user exists. It seems to be problem of WIN environment with Streams. I could solve it. But after whole setup and starting Apply and capture capture process goes for hours, not replicated at destination database. Normally how fast is replcation when done for small db like scott on table emp.
    thanks

  • Error while doing ABGL Asset Credit Memo

    Hi Friends,
    I am getting the below error while doing Asset Credit Memo in ABGL. Please help me in fix this issue.
    Balance for transaction type group 10 negative for the area 01
    Note:In Asset Explorer Fiscal year start Asset value is 98,425.45 and Change is 4768.19. So total Asset value as of now is 1,03,193.64.
    Now we are trying to do ABGL with 12,790.23 value (Transaction type is 105). System is giving the above highlighted error.
    If we give the amount 4768.19 in ABGL transaction, system is not giving any error. If we give more that that system is giving error.
    Why system is giving error even the asset has balance of 1,03,193.64? Please help me on this..
    Thanks
    Sunil

    Hi,
    If the asset has been capitalized during earlier years, use ABGF to post credit memo.  ABGL is meant for assets capitalized during the year.
    Best Regards,
    Madhu

  • Error while doing "Visulaize Plan"

    Hi,
    Before i did Visualize plan many times without any problem.Now I am getting error while doing so.
    I was able to run "Explain Plan" successfully.
    I am on HANA revision 60.
    I saved above error log and the log information is given below:
    I can identify invalid XML tag <TablesInvolved><![CDATA[raj/AN_VIZ]]></TablesInvolved> but how to fix this issue?
    I gone through various blogs related to Visulaization Plan but not found related to this issue.
    <Plan xmlns="http://www.sap.com/ndb/planviz" ID="ID_0" Type="Estimated">
    <SQL><![CDATA[SELECT KOKRS, BELNR, PERIO, SUM(MEGBTR)
    FROM "_SYS_BIC"."raj/AN_VIZ"
    GROUP BY KOKRS, BELNR, PERIO]]></SQL>
    <CompileTime>
      <Start Unit="us">1401281467643661</Start>
      <End Unit="us">1401281467658329</End>
    </CompileTime>
    <RootRelation ID="ID_0" TypeName="PROJECT" Status="Finished">
      <Name>Project</Name>
      <ExecutionType>Row Search</ExecutionType>
      <Summary><![CDATA[raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO, SUM(raj/AN_VIZ.MEGBTR)]]></Summary>
      <Location>hanasp7:30003</Location>
      <EstimatedCost>
       <Exclusive Unit="us">2.12902e+06</Exclusive>
       <Inclusive Unit="us">2.64021e+06</Inclusive>
      </EstimatedCost>
      <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
      <Details><![CDATA[{"Projected Cols":"raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO, SUM(raj/AN_VIZ.MEGBTR)","Project column0":"NString(4, 0)  __trex_field_NVarchar3__() ....... [3]:040:<5/7 (16B)>:
      /1/ void*  \"__rids__\" ....... [0]:NOP:<0/1 (8B)>:
      /2/ int32_t(10, 0) const := 0 ....... [1]:LOAD:<3/4 (4B)>:
      /3/ int32_t(10, 0) const := 0 ....... [2]:LOAD:<4/5 (4B)>:","Project column1":"NString(10, 0)  __trex_field_NVarchar3__() ....... [8]:040:<5/7 (16B)>:
      /1/ void*  \"__rids__\" ....... [5]:NOP:<0/1 (8B)>:
      /2/ int32_t(10, 0) const := 0 ....... [6]:LOAD:<3/4 (4B)>:
      /3/ int32_t(10, 0) const := 1 ....... [7]:LOAD:<4/5 (4B)>:","Project column2":"NString(3, 0)  __trex_field_NVarchar3__() ....... [13]:040:<5/7 (16B)>:
      /1/ void*  \"__rids__\" ....... [10]:NOP:<0/1 (8B)>:
      /2/ int32_t(10, 0) const := 0 ....... [11]:LOAD:<3/4 (4B)>:
      /3/ int32_t(10, 0) const := 2 ....... [12]:LOAD:<4/5 (4B)>:","Project column3":"Decimal(18, 3)  __typecast__() ....... [23]:076:<10/12 (16B)>:
      /1/ Fixed16(18, 3)  __trex_field_Fixed16__() ....... [19]:043:<6/8 (16B)>: 
         /1/ void*  \"__rids__\" ....... [15]:NOP:<0/1 (8B)>:
         /2/ int32_t(10, 0) const := 0 ....... [16]:LOAD:<3/4 (4B)>:
         /3/ int32_t(10, 0) const := 3 ....... [17]:LOAD:<4/5 (4B)>:
         /4/ int32_t(10, 0) const := 3 ....... [18]:LOAD:<5/6 (4B)>: 
      /2/ int32_t(10, 0) const := 18 ....... [21]:LOAD:<8/9 (4B)>:
      /3/ int32_t(10, 0) const := 3 ....... [22]:LOAD:<9/10 (4B)>:"}]]></Details>
      <Child ID="ID_8" >
      </Child>
    </RootRelation>
    <Relation ID="ID_8" TypeName="TREX_SEARCH" Status="Finished">
      <Name>Column Search</Name>
      <ExecutionType>Column Search</ExecutionType>
      <Summary><![CDATA[Aggregation on a single table]]></Summary>
      <Location>hanasp7:30003</Location>
      <EstimatedCost>
       <Exclusive Unit="us">511194</Exclusive>
       <Inclusive Unit="us">511194</Inclusive>
      </EstimatedCost>
      <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
      <TablesInvolved><![CDATA[raj/AN_VIZ]]></TablesInvolved>
      <LogicalPlan ID="ID_11" Type="Estimated">
       <RootRelation ID="ID_11" TypeName="PROJECT" Status="Finished">
        <Name>Project</Name>
        <EstimatedCost>
         <Exclusive Unit="us">0</Exclusive>
         <Inclusive Unit="us">0</Inclusive>
        </EstimatedCost>
        <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
        <Child ID="ID_12" >
        </Child>
       </RootRelation>
       <Relation ID="ID_12" TypeName="GROUP_BY" Status="Finished">
        <Name>Aggregation</Name>
        <Summary><![CDATA[raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO\nSUM(raj/AN_VIZ.MEGBTR)]]></Summary>
        <EstimatedCost>
         <Exclusive Unit="us">0</Exclusive>
         <Inclusive Unit="us">0</Inclusive>
        </EstimatedCost>
        <EstimatedOutputCardinality>648284</EstimatedOutputCardinality>
        <Details><![CDATA[{"Grouping Cols":"raj/AN_VIZ.KOKRS, raj/AN_VIZ.BELNR, raj/AN_VIZ.PERIO","Aggregation Cols":"SUM(raj/AN_VIZ.MEGBTR)"}]]></Details>
        <Child ID="ID_13" >
        </Child>
       </Relation>
       <Relation ID="ID_13" TypeName="TABLE" Status="Finished">
        <Name>Column View</Name>
        <Schema><![CDATA[_SYS_BIC]]></Schema>
        <ObjectName><![CDATA[raj/AN_VIZ]]></ObjectName>
        <Location>hanasp7:30003</Location>
        <EstimatedCost>
         <Exclusive Unit="us">0</Exclusive>
         <Inclusive Unit="us">0</Inclusive>
        </EstimatedCost>
        <EstimatedOutputCardinality>682404</EstimatedOutputCardinality>
       </Relation>
      </LogicalPlan>
    </Relation>
    </Plan>
    Regards
    Raj

    Hi,
    To solve this you must update your studio. In lower studio versions (PlanViz) does not allow "unknown" XML tags sent by higher version servers. A fix for this issue was made so that PlanViz parser can simply skip unknown tags.
    Please go to version 74, if possible.
    Regards,
    Michael

  • Error while doing EHP4 upgrade in downtime phase

    HI .
    Iam facing the below error while doing the EHP4 upgrade , in downtime phase.
    Checks after phase MAIN_SWITCH/STARTSAP_TRANS were negative!
    Last error code set: RFC call to subst_get_uvers failed with key RFC_ERROR_COMMUNICATION (open): SAP_CMINIT3 : rc=20 >
    Connect to SAP gateway failed Connect_PM GWHOST=Hydhtc4526D, GWSERV=sapgw04, SYSNR=04  LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '10.136.162.30:3304' not reached TIME Mon Jun 06 18:17:46 2011 RELEASE 720 COMPONENT NI (network interface) VERSION 40 RC -10 MODULE nixxi.cpp LINE 3286 DETAIL NiPConnect2: 10.136.162.30:3304 SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER System start failed
    Please help me in resolving this error.
    Sanketh.

    Hi,
    Upgrade tool is trying to start the system but system is not coming up. Try to start system manually and see if system comes up or not. If not then check logs in work directory for why system is not coming up.
    Thanks
    Sunny

  • ORA-12571 error while creating packages from Windows clients

    Hello,
    We are facing the ORA-12571 error while creating / replacing packages from Windows Clients connected to a 8.1.7.2.0 db on a Solaris server.
    However, there are
    1. no errors in connecting and creating transactions from a Sql session
    2. no errors in creating / replacing unwrapped/wrapped small (few lines) packages
    3. no errors in connecting from a Unix session (remote telnet sessions inclusive).
    This happens only when creating wrapped/unwrapped packages, source code of which is greater than 500 kb approx.
    Can somebody help me resolve this issue. Any Help would be greatly appreciated.
    Regards.
    Lakshmanan, K

    Update: I had unintentionally left my custom tablespace in READONLY state after an earlier experiment with transportable tablespaces. After putting the tablespace back into READ WRITE mode and creating a new template, I was successfully able to create a new db from the template.
    I'm still a little curious why this procedure wouldn't work properly with a READONLY tablespace, however.
    Ben

  • Creating database problem with ORA-01519: error while processing file '' ne

    Dear all,
    I am having rough time with creating database manually. can anyone help me with the following errors.
    ALERT LOGFILE:-
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\udump\oracle5_ora_3444.trc:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '%ORACLE_HOME%\RDBMS\ADMIN\SQL.BSQ' near line 5744
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf'
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    Error 1519 happened during db open, shutting down database
    USER: terminating instance due to error 1519
    Sun May 31 12:00:39 2009
    Errors in file d:\oracle\product\10.1.0\admin\oracle5\bdump\oracle5_reco_3416.trc:
    ORA-01519: error while processing file '' near line
    CREATE DATABASE SCRIPT:-
    create database ORACLE5
    user sys identified by bala
    user system identified by bala
    logfile
    group 1 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo01.log') SIZE 50M,
    group 2 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo02.log') SIZE 50M,
    group 3 ('D:\oracle\product\10.1.0\oradata\ORACLE5\logfile\redo03.log') SIZE 50M
    maxlogfiles 5
    maxlogmembers 5
    maxloghistory 1
    maxdatafiles 50
    maxinstances 1
    datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\system01.dbf' size 200m autoextend on maxsize unlimited extent management local
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    sysaux datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5\datafile\sysaux01.dbf' size 100m autoextend on maxsize unlimited
    default temporary tablespace temp tempfile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\temp01.dbf' size 10m autoextend on maxsize unlimited
    character set US7ASCII
    NATIONAL CHARACTER SET AL16UTF16
    INIT.ORA FILE:-
    # Copyright (c) 1991, 2001, 2002 by Oracle Corporation
    # Archive
    log_archive_format=ARC%S_%R.%T
    # Cache and I/O
    db_block_size=8192
    db_cache_size=25165824
    db_file_multiblock_read_count=16
    # Cursors and Library Cache
    open_cursors=300
    # Database Identification
    db_domain=""
    db_name=oracle5
    # Diagnostics and Statistics
    background_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\bdump
    core_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\cdump
    user_dump_dest=D:\oracle\product\10.1.0\admin\oracle5\udump
    # File Configuration
    #db_create_file_dest=D:\oracle\product\10.1.0\oradata
    db_recovery_file_dest=D:\oracle\product\10.1.0\flash_recovery_area
    db_recovery_file_dest_size=2147483648
    # Job Queues
    job_queue_processes=10
    # Miscellaneous
    compatible=10.1.0.2.0
    # Pools
    java_pool_size=50331648
    large_pool_size=8388608
    shared_pool_size=83886080
    # Processes and Sessions
    processes=150
    # Security and Auditing
    remote_login_passwordfile=EXCLUSIVE
    # Shared Server
    dispatchers="(PROTOCOL=TCP) (SERVICE=oracle5XDB)"
    # Sort, Hash Joins, Bitmap Indexes
    pga_aggregate_target=25165824
    sort_area_size=65536
    # System Managed Undo and Rollback Segments
    undo_management=AUTO
    undo_tablespace=UNDOTBS1
    control_files=("D:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE5\CONTROLFILE\control01.CTL", "D:\ORACLE\PRODUCT\10.1.0\FLASH_RECOVERY_AREA\ORACLE5\CONTROLFILE\control02.CTL")

    Hi,
    undo tablespace UNDOTBS1 datafile 'D:\oracle\product\10.1.0\oradata\ORACLE5 \datafile\undotbs1.dbf' size 10m autoextend on maxsize unlimited
    After ORACLE5 there is a space character. Typo? Create proper directory or delete this character.
    Bartek

  • ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401

    I receive the following error by creating dataabse as below sql:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file '/sisdev04/dbs/users01.dbf'
    ORA-27039: create file failed, file size limit reached
    Additional information: 1
    CREATE DATABASE SISDEV04
         LOGFILE GROUP 1 ('/sisdev04/dbs/log01a.dbf','/sisdev04/dbs/log01b.dbf') SIZE 10M,
              GROUP 2 ('/sisdev04/dbs/log02a.dbf','/sisdev04/dbs/log02b.dbf') SIZE 10M
         NOARCHIVELOG
         CHARACTER SET ZHT16BIG5
         NATIONAL CHARACTER SET ZHT16BIG5
         DATAFILE '/sisdev04/dbs/system01.dbf'      
              SIZE 210M AUTOEXTEND OFF
         , '/sisdev04/dbs/rbs01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/temp01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/users01.dbf'
    SIZE 1050M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ivr01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ivr01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
    I have issue df to check the directory sisuat04
    / >df
    Filesystem 512-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 98304 45664 54% 2446 10% /
    /dev/hd2 2097152 78992 97% 30280 12% /usr
    /dev/hd9var 65536 20536 69% 308 4% /var
    /dev/hd3 294912 262432 12% 147 1% /tmp
    /dev/hd1 49152 5712 89% 1290 21% /home
    /dev/mfcobol 81920 25520 69% 608 6% /mfcobol
    /dev/magiclv 81920 22304 73% 346 4% /usr/magic
    /dev/sispro02lv 6553600 6347792 4% 18 1% /sisdev02
    /dev/sispro03lv 6553600 6347784 4% 19 1% /sisdev03
    /dev/sisappllv 229376 173288 25% 1846 7% /sisappl
    /dev/lvbaklog 98304 85552 13% 68 1% /app/bak_log
    /dev/noteslv0 1048576 541352 49% 2195 2% /notes
    /dev/noteslv1 4194304 1479304 65% 5269 2% /notesrv
    /dev/noteslv2 2097152 898128 58% 51 1% /notesrv/sitesch
    /dev/lvoracle 2097152 237240 89% 8280 4% /opt/oracle
    /dev/u01lv 4194304 128720 97% 11697 3% /u01
    /dev/sisdev01lv 4096000 3021552 27% 27 1% /sisdev04
    Is is still a not enough space problem?

    I receive the following error by creating dataabse as below sql:
    ORA-01501: CREATE DATABASE failed
    ORA-01519: error while processing file '?/rdbms/admin/sql.bsq' near line 401
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01119: error in creating database file '/sisdev04/dbs/users01.dbf'
    ORA-27039: create file failed, file size limit reached
    Additional information: 1
    CREATE DATABASE SISDEV04
         LOGFILE GROUP 1 ('/sisdev04/dbs/log01a.dbf','/sisdev04/dbs/log01b.dbf') SIZE 10M,
              GROUP 2 ('/sisdev04/dbs/log02a.dbf','/sisdev04/dbs/log02b.dbf') SIZE 10M
         NOARCHIVELOG
         CHARACTER SET ZHT16BIG5
         NATIONAL CHARACTER SET ZHT16BIG5
         DATAFILE '/sisdev04/dbs/system01.dbf'      
              SIZE 210M AUTOEXTEND OFF
         , '/sisdev04/dbs/rbs01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/temp01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/users01.dbf'
    SIZE 1050M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ivr01.dbf'
    SIZE 105M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ivr01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
         , '/sisdev04/dbs/ts_index_ems01.dbf'
    SIZE 21M AUTOEXTEND OFF
    I have issue df to check the directory sisuat04
    / >df
    Filesystem 512-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 98304 45664 54% 2446 10% /
    /dev/hd2 2097152 78992 97% 30280 12% /usr
    /dev/hd9var 65536 20536 69% 308 4% /var
    /dev/hd3 294912 262432 12% 147 1% /tmp
    /dev/hd1 49152 5712 89% 1290 21% /home
    /dev/mfcobol 81920 25520 69% 608 6% /mfcobol
    /dev/magiclv 81920 22304 73% 346 4% /usr/magic
    /dev/sispro02lv 6553600 6347792 4% 18 1% /sisdev02
    /dev/sispro03lv 6553600 6347784 4% 19 1% /sisdev03
    /dev/sisappllv 229376 173288 25% 1846 7% /sisappl
    /dev/lvbaklog 98304 85552 13% 68 1% /app/bak_log
    /dev/noteslv0 1048576 541352 49% 2195 2% /notes
    /dev/noteslv1 4194304 1479304 65% 5269 2% /notesrv
    /dev/noteslv2 2097152 898128 58% 51 1% /notesrv/sitesch
    /dev/lvoracle 2097152 237240 89% 8280 4% /opt/oracle
    /dev/u01lv 4194304 128720 97% 11697 3% /u01
    /dev/sisdev01lv 4096000 3021552 27% 27 1% /sisdev04
    Is is still a not enough space problem? i think you have specified 1050m for users01.dbf file, your file system /sisdev04 has something like
    1.5gb of free space. it failed because of lack of free space. may be you can reduce your datafile size or try to
    create in another filesystem.

Maybe you are looking for

  • Hierarchy Node Intial load from R/3 to CRM 5.2

    Hi I have this problem when download form R/3 4.6c to CRM 5.2 hierarchy node. Can you help me? It's very important because we are blocked. Thanks Best regards. we downloaded the following customer hierarchy: 0002189004 - 0002199004 - 0002190509 - 000

  • Help needed in making table name and column name dynamic

    please check the below query? in the below message Message was edited by: 460425 Message was edited by: 460425

  • Doubt om Dynamic Configuration of receiver file

    Hello ,   for Acheiving the Dynamic configuration of receiver file name ,adapter specific message attribute is used...But how to suppress the name of file in the content of the Received file... Is my question correct..do we get the file name in conte

  • File to ABAP Server Proxy Scenario

    Hi 2 all, I am running File to Server(ABAP) Proxy scenario... I have checked the ABAP Server Proxy at application server only and it is working fine....But when i am running the whole scenario my server proxy is not getting executed..( i.e my file is

  • The menu button is gone

    I don't know what I did. But the menu button from the new firefox that I just downloaded is gone. How do I get it back? How can I rearrange items in the toolbar? I thought you could just drag and drop them. Now, there's no reload button, the home but