Error ORA-01422 while compressing a cube

Hello,
I am trying to compress the initial balnce of the European Inventory KPI  (KPINVMOEU) cube after reloading it and I encountered the oracle error-01422 which says:
system error:error-01422:exact fetch returns more than requested
system error:CONDENSE_FACTTABLE-5-ERROR-01422
Has anyone dealt with this error before? Any input is appreciated.
Thanks in advance,
madhu

Madhu,
    can you please look into these notes: 485766 and 385660.
at the same time look into these links which is for similar problem.
ERROR: System error: CONDENSE_FACTTABLE-5- ERROR:12805
Error during compress 0IC_C03
error ORA-01422 while compressing a cube
Re: Cube compression failing
All the best.
Regards,
Nagesh Ganisetti.

Similar Messages

  • Getting Error ORA-01422&ORA-06512 while clicking distributions of invoice

    Hi,
    I am Getting Error ORA-01422&ORA-06512 when i query the invoice and click on the All distributions.
    However i am getting this error only for some invoices and not for all.
    Any suggestion on this is highly appreciated.
    Regards,
    Shreyans

    Hi,
    What is the application release? If you are on R12, please refer to these documents.
    Note: 580014.1 - R12 Invoices FAQs - (16. Why do the Errors ORA-01422 and ORA-06512 Show when Clicking on the [All Distributions] Button?)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=580014.1
    Note: 559199.1 - Error ORA-01422 ORA-06512 Raises when Click On [All Distributions] Button
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=559199.1
    Regards,
    Hussein

  • ORA-01422: while trying to create a job

    Hi all,
    WE need a help from you, group of experts
    we are getting the following error
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.DBMS_ISCHED", while trying to create a job using the following code
    BEGIN
    DBMS_SCHEDULER.create_program
    (program_name => 'FAILURE_MONITOR_PRG',
    program_action => 'JOB_MGR.SPR_FAILURE_MONITOR',
    program_type => 'STORED_PROCEDURE',
    number_of_arguments => 1,
    enabled => FALSE
    DBMS_SCHEDULER.define_metadata_argument
    (program_name => 'FAILURE_MONITOR_PRG',
    argument_position => 1,
    metadata_attribute => 'EVENT_MESSAGE'
    DBMS_SCHEDULER.create_job
    (job_name => 'FAILURE_MONITOR_JOB',
    program_name => 'FAILURE_MONITOR_PRG',
    enabled => TRUE,
    auto_drop => FALSE,
    start_date => SYSDATE,
    event_condition => 'tab.user_data.event = ''FAILED''',
    queue_spec => 'event_queue'
    END;
    Oracle allows us to create the job if the parameter values for enabled is "false" in the DBMS_SCHEDULER.create_job call. But we got the same error
    when tried to enable the job using exec DBMS_SCHEDULER.ENABLE ('FAILURE_MONITOR_JOB');
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYS.DBMS_ISCHED", line 2751
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 1794
    ORA-06512: at line 1
    Please help us to solve this issue
    Thanks,
    Reghu
    null

    Hi Ravi,
    Thank you for your kind support
    That issue has been solved. Problem was with the event queue and only for that particular job i mentioned in the first post (I was able to create other jobs with different Events using the same queue) . After recreating the event queue i am able to create the same job. I got the same error when I tired to drop the queue, and then I dropped the queue table itself. Do you have any idea about what might had caused the issue?
    Thanks
    Reghu

  • Error ORA-02375 while trying to export/import JTF.JTF_PF_REPOSITORY table

    We have already created an SR, In the mean time, trying to see whether anyone else has come across this issue.  Thanks.
    On : 11.2.0.3 version, Data Pump Import
    Error ORA-02375 while trying to import JTF.JTF_PF_REPOSITORY table
    We are getting the below error while performing the full db
    import.
    ORA-02375: conversion error loading table
    "JTF"."JTF_PF_REPOSITORY" partition "EBIZ"
    ORA-22337: the type of accessed
    object has been evolved
    ORA-02372: data for row: SYS_NC00040$ :
    0X'8801FE000004AD0313FFFF0009198401190A434F4E4E454354'
    This issue is
    stopping our upgrade of database from 10.2.0.4 to 11.2.0.3. This is very
    critical for us to be resolved.

    Hi,
    seems this is Character set issue fo source and Target DB check this doc:Unable to Export Table WF_ITEM_ATTRIBUTE_VALUES due to errors ORA-02374, ORA-22337, and ORA-02372 (Doc ID 1522761.1)
    HTH

  • ORA-01422 while trying to check out files from Designer 10g

    Hi All!
    I am sorry if this has been posted earlier. Also, if i have posted it in the worng forum please let me know where to post this
    I have installed Oracle Developer Suite 10g. I have imported a repository successfully.
    When i log into the designer, the previous versions are also seen correctly. I am also able to log into the latest version.
    But when i try to check out any file for editing i get this strange error
    ORA-01422: exatch fetch returns more than one row in the query.
    Can anyone help me with this. I have tried searching over google, but hardluck... found no solutions!
    Thanks in Advance!
    Akhil
    Edited by: Akhil K on Oct 23, 2009 11:53 PM

    ORA-01422: 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
    This means you have more than one index having T.INDEX_NAME = 'IX_NAME'.
    When you use SELECT..INTO, you need to make sure that only one record will be selected.

  • Error ORA-01422

    Hi All,
    I just learning Oracle. Now i try to make a stored procedure
    CREATE OR REPLACE PROCEDURE sewa_mobil(customerid in customer.customerid%TYPE,
                                                      supirid in supir.supirid%TYPE,
                                                      mobilid in mobil.mobilid%TYPE,
                                                      tgl_sewa in VARCHAR2)
    is      
    begin
    if status_mobil(mobilid) = 0 then
         raise_application_error('-20001','Car Is In Use');
    elsif status_supir(supirid) = 0 then
         raise_application_error('-20002','Driver on Duty');
    else
         IF (tgl_sewa = 'now') then
              insert into sewa values(sewa_id_seq.nextval,customerid,supirid,mobilid,sysdate,'');     
         else
              insert into sewa values(sewa_id_seq.nextval,customerid,supirid,mobilid,to_date(tgl_sewa,'DD-MM-YYYY HH24:MI:SS'),'');     
         end if;
    end if;      
    commit;
    end;
    then when i execute like this => exec sewa_mobil(1,2,3,'21:07:08 17:12:54');
    but it comes error ORA-01422 and ORA-06512.
    When I search on google, it says that error on ORA-04122 comes, if there were SELECT statement on Procedure which resulting 2 rows or more. But as you see from my procedure, it has no SELECT statement.
    so how to solve this?
    *I've tried to manually using insert into sewa values(0,1,1,1,sysdate,sysdate);..........and its work                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hello (and welcome),
    user11018619 wrote:
    but it comes error ORA-01422 and ORA-06512.
    When I search on google, it says that error on ORA-04122 comes, if there were SELECT statement on Procedure which resulting 2 rows or more. But as you see from my procedure, it has no SELECT statement. But you do have a SELECT: status_mobil(mobilid) and status_supir(supirid)
    these are function calls, which must be SELECTing.
    By the way, putting {noformat}{noformat} around your code makes it a lot easier to read (lowercase code in curly brackets).
    Edited by: SeánMacGC on Jun 22, 2009 9:24 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Oracle error - ORA-01422

    I am getting ORA-01422 error while updating my databse from a given user. This error is coming only while an update is done.
    Any suggestions!!!

    I've had a problem like this, ora 1403 on update and Oracle said me than there is a bug, the 892342; I've installed the patch 6a per the dev/2k and the patch 80522 for the database (client site) and now the situation is not bad, but I'm not sure the problem is solved.
    null

  • PL/SQL report errors: ORA-01422

    Hi all,
    (before i you read i would like to say i have searched the net for this error code but nothing shows up like this problem..)
    I am getting an error problem when i select certain Schemas from a list on an apex app. page, it only works for some schemas not all..
    When i select one schema, it is supposed to display one row.. when i select [ALL] it is supposed to show them all.
    It does work if i select '[ALL]' from the select list (p3_schema_name), just not for every single individual one.
    the error code:
    ORA-01422: exact fetch returns more than requested number of rows
    declare
      vSchema  varchar2(20);
      vStmt  varchar2(1000);
      vVersion number(5);
      vDBName  varchar2(20);
      vHostName varchar2(80);
      vStmt2  varchar2(1000);
      vVersion2 number(5);
      vDBName2  varchar2(20);
      vServer2 varchar2(80);
      vSchema2 varchar2(80);
      CURSOR c_schemas IS
        select owner from dba_tables@P3_DB_NAME.db_link where table_name = 'DDL_LOG' and num_rows > 0 order by owner;
    begin
      IF :P3_SCHEMA_NAME != '[ALL]' AND :P3_DB_NAME IS NOT NULL AND :P3_SERVER_NAME IS NOT NULL THEN
        vServer2 := :P3_SERVER_NAME;
        vSchema2 := :P3_SCHEMA_NAME;
          vStmt2 := 'select distinct DDH_DB_NM, max(DDH_SCHEMA_NR)keep(dense_rank last order by ddh_runstart_td) AS "PATCH" from &P3_SCHEMA_NAME..ddl_log@&P3_DB_NAME.db_link GROUP BY DDH_DB_NM';
          Execute Immediate vStmt2 into vDBName2, vVersion2;
            htp.p('<br>');
            htp.p('<table border="1">');
            htp.p('<tr>');
            htp.p('<th bgcolor="#FFCC99">SERVER NAME</th>');
            htp.p('<th bgcolor="#FFCC99">DB NAME</th>');
            htp.p('<th bgcolor="#FFCC99">SCHEMA NAME</th>');
            htp.p('<th bgcolor="#FFCC99">PATCH</th>');
            htp.p('</tr>');
            htp.p('<tr>');
            htp.p('<td>');
            htp.p(vServer2);
            htp.p('</td>');
            htp.p('<td>');
            htp.p(vDBName2);
            htp.p('</td>');
            htp.p('<td>');
            htp.p(vSchema2);
            htp.p('</td>');
            htp.p('<td>');
            htp.p(vVersion2);
            htp.p('</td>');
            htp.p('<td>');
            htp.p('<BR>');
            htp.p('</td>');
            htp.p('</tr>');
            htp.p('</tr>');
            htp.p('</table>');
       ELSE IF :P3_SCHEMA_NAME = '[ALL]' AND :P3_DB_NAME IS NOT NULL AND :P3_SERVER_NAME IS NOT NULL THEN
       vHostName := :P3_SERVER_NAME;
       vDBName := :P3_DB_NAME;
         open c_schemas;
          htp.p('<br>');
          htp.p('<table border="1">');
          htp.p('<tr>');
          htp.p('<th bgcolor="#FFCC99">SERVER NAME</th>');
          htp.p('<th bgcolor="#FFCC99">DB NAME</th>');
          htp.p('<th bgcolor="#FFCC99">SCHEMA NAME</th>');
          htp.p('<th bgcolor="#FFCC99">PATCH</th>');
          htp.p('</tr>');
        LOOP
          FETCH c_schemas INTO vSchema;
          EXIT WHEN c_schemas%NOTFOUND;
          vStmt  := 'select max(DDH_SCHEMA_NR)keep(dense_rank last order by ddh_runstart_td) AS "PATCH" from '||vSchema||'.ddl_log@&P3_DB_NAME.db_link where DDH_SCHEMA_NR = (select max(DDH_SCHEMA_NR) from '||vSchema||'.ddl_log@&P3_DB_NAME.db_link) and rownum < 2' ;
          Execute Immediate vStmt into vVersion  ;
          htp.p('<tr>');
          htp.p('<td>');
          htp.p(vHostName);
          htp.p('</td>');
          htp.p('<td>');
          htp.p(vDBName);
          htp.p('</td>');
          htp.p('<td>');
          htp.p(vSchema);
          htp.p('</td>');
          htp.p('<td>');
          htp.p(vVersion);
          htp.p('</td>');
          htp.p('<td>');
          htp.p('<BR>');
          htp.p('</td>');
          htp.p('</tr>');
        END LOOP;
          htp.p('</tr>');
          htp.p('</table>');  
      CLOSE c_schemas;
    END IF;
    END IF;
    END;I have checked the DDH_SCHEMA_NR for repeating entries of the highest number.. some of the ones that dont work do have repeating entries some don't.
    Sorry if this is confusing, i have tried to explain it as best as i can.
    Thanks in advance for any help.
    Ashleigh

    Hello Ashleigh,
    Based on your code, I'd start by running this piece of SQL via command-line (thru SQL Workshop, SQL*Plus, Toad, etc.), replacing &P3_SCHEMA_NAME. and &P3_DB_NAME. with values that are currently causing the routine to fail and see if it returns more than one row. I don't know your data, but DISTINCT and GROUP BY are typically used to return multiple (though grouped/summarized) rows. It appears to be the only statement that would cause the error your seeing (more than one row being returned into single variables).
    select distinct DDH_DB_NM, max(DDH_SCHEMA_NR)keep(dense_rank last order by ddh_runstart_td) AS "PATCH" from &P3_SCHEMA_NAME..ddl_log@&P3_DB_NAME.db_link GROUP BY DDH_DB_NM;I'm actually surprised that the code runs at all. I didn't think 'execute immediate' would know what to do with substitutions indicated as "&something." (I've typically seen that when substituting in dynamic HTML/Javascript code but maybe I'm learning something new). But since you already have vServer2 and vSchema2, I'd be more apt to code it as:
    vStmt2 := 'select distinct DDH_DB_NM, max(DDH_SCHEMA_NR)keep(dense_rank last order by ddh_runstart_td) AS "PATCH" from ' ||
    vSchema2 || '.ddl_log@' || vServer2 || '.db_link GROUP BY DDH_DB_NM';Hope this helps,
    John

  • Error ORA-01652 while running select query

    A select query returning millions of records is returning the following error.
    SQL Error [
    ORA-01652: unable to extend temp segment by 128 in tablespace TEMP
    We requested DBA to increased the TEMP tablespace. He increased it to 20GB and also, changed to Autoextent.
    When we executed the query again, we got the same error ?
    What could be the reason of this issue and how it can be resolved ?

    All sort operations that don't fit into the SORT_AREA_SIZE will go to the temp tablespace (they can be seen as direct writes in the trace file).
    It can easy be the case, that your temp tablespace needs to be many GB in size [we have a table with millions of rows and for the loading/merging our temp is 80GB in size].
    May be you can change your process of loading i.e. with this select you fill a intermediate table (with CTAS) and do your processing there or even try to do the processing in SQL while building the table. You could also try to do the processing with a cursor and BULK COLLECT LIMIT 100 and then inserting into the target table with the FORALL statement.

  • Error ORA-04031 while executing a stored procedure from Pro C++ code

    I am getting the error ORA-04031(Unable to allocate 4096 bytes of shared memory("Shared Pool",.....)) while trying to execute a stored procedure from my pro*C application. This happens only after a few hours since the application has been running. I am closing the cursor after every database call.
    Does anyone know why it is happening and any possible solutions?
    TIA
    Srithaj.

    One thing that can be done is to flush the shared pool before starting the application.
    alter system flush shared pool;
    Another is to increase the shared pool size by setting the parameter shared_pool_size in init_sid.ora file.
    null

  • Facing error- ORA-23324: while running DBMS_JOB.run(job#)

    Hi,
    I am a new comer to this forum. I'm facing the follwing error
    while running a push job in multimaster replication env. Though
    able to delete the pending transactions from Deftran relating to
    two groups which i'm going to resync.
    ORA-23324: error ORA-06512: at line , while creating deferror
    entry at "DB.WORLD" with error 100
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1425
    ORA-06512: at "SYS.DBMS_DEFER_SYS", line 1488
    ORA-06512: at line 1
    any help is appreciated.
    thanks
    Hsingh

    I apologize if you already solved this.. but see Metalink ID 790221.1
    +*<Moderator Edit - deleted contents of MOS Doc - pl do NOT post such content - it is a violation of your Support agreement>*+                                                                                                                                                                                                                                                                                                                                                                                                               

  • R1208 Self Service Timecard Error ORA-01422 HXC_TIMECARD line 830 HXC_LOCKS

    Hi,
    After applying HRMS RUP 8 on 12.0 we are intermittently seeing this error when an employee is trying to update an existing timecard (usually a timecard that was previously submitted). The user just gets the generic unexpected error page, but FND_LOG_MESSAGES shows the error:
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "APPS.HXC_TIMECARD", line 830
    Somehow there are sometimes rows in HXC_LOCKS that are not being released when the timecard is submitted, so the row in HXC_LOCKS has the old time_building_block_ovn, and when the employee goes to update the timecard then it inserts a new row in HXC_LOCKS with the latest OVN (without clearing the HXC_LOCKS row with the old OVN), so when they try to save the changes to the timecard then the query at "APPS.HXC_TIMECARD" line 830 selects both rows and throws the ORA-01422.
    We can't reproduce this on demand, but it's happening in production several times a week. We first started seeing this immediately after applying the HRMS RUP 8 patch 9301208. Our SR seems to be going nowhere without a reproducible test case.
    I was wondering if anyone else is seeing this error.
    The query below tells us where we have these old hxc_locks, and if we try to update one of these timecards then it will produce the error.
    Would anyone mind running this in your instance to see if any rows come up?
    select *
    from apps.hxc_locks hl,
    apps.hxc_time_building_blocks ht
    where ht.time_building_block_id = hl.time_building_block_id
    and hl.time_building_block_ovn < (select max(hb.object_version_number)
    from apps.hxc_time_building_blocks hb
    where hb.time_building_block_id = ht.time_building_block_id)
    and ht.object_version_number = (select max(hb.object_version_number)
    from apps.hxc_time_building_blocks hb
    where hb.time_building_block_id = ht.time_building_block_id);
    The workaround we have found is to create a new timecard for the same period instead of trying to update the existing timecard, when you do this then it removes the old row from HXC_LOCKS.
    Any other thoughts?
    Thanks for reading this long post
    Thomas

    It definitely looks like code issue. Best option is to raise an SR and follow with oracle.
    --Shiv                                                                                                                                                                                                       

  • Getting error ORA-12705, while connecting through Sql*Plus?

    Hi TOM,
    While connecting ORACLE Database through Sql*Plus / via through Application. We getting error called "Error while trying to retrieve text for error ORA-12705".
    How to re-solve this one?
    Thanks & Regards,
    Senthil K Kumar.

    Maran,
    check the registry NLS_LANG in the registry rename it as suggested by burleson and add a new entryCurrently, it was more suggested by Maxim ;-)
    Nicolas.

  • Error: ORA-02298 while creating a new app at DRM 11.1.2.3.300

    Hi All,
            There's something weird happening when I try to create a new DRM app at DRM Management Console. After provide all information about database connection and admin long on i am getting the following error during the repository creation :
    Creating Repository ...  Done.
    Creating Tables ...  Done.
    Creating Views ...  Done.
    Creating Stored Procedures ...  Done.
    Creating Indexes ...  Done.
    Creating Primary Keys ...  Done.
    Initializing schema with predefined data ...
    Database creation failed with this error: ORA-02298: cannot validate (EPM_DRM_DB.FK_CATUSER02) - parent keys not found
         It is a fresh install and I don't know why I am having this error.  Did someone had this issue too ? How to solve that ?
    Thanks in advance

    ...To whom it may concern.....
    This issue was related to privileges in database. I've generated the scripts and ran with system user and it worked.
    Case closed.

  • Error ORA-10980 while creating MV

    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Jun 21 11:43:02 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    CREATE MATERIALIZED VIEW ebOrganizationStructure AS
    SELECT DEPT.DeptStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    NULL DivCode,
    NULL DivDesc,
    NULL GrpCode,
    NULL GrpDesc,
    NULL SecCode,
    NULL SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT
    UNION
    SELECT DivStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    NULL GrpCode,
    NULL GrpDesc,
    NULL SecCode,
    NULL SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erOrgUnit_Orgunit OGU_OGU1
    WHERE OGU_OGU1.OguEntId2 = DIV.EntId
    AND OGU_OGU1.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU1.OguEntId1
    AND DEPT.EntDomId = OGU_OGU1.OguEntDomId1
    UNION
    SELECT GRP.GrpStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    GRP.GrpShortName GrpCode,
    GRP.GrpName GrpDesc,
    NULL SecCode,
    NULL SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erGroup GRP,
    erOrgUnit_Orgunit OGU_OGU1,
    erOrgUnit_Orgunit OGU_OGU2
    WHERE OGU_OGU1.OguEntId2 = GRP.EntId
    AND OGU_OGU1.OguEntDomId2 = GRP.EntDomId
    AND DIV.EntId = OGU_OGU1.OguEntId1
    AND DIV.EntDomId = OGU_OGU1.OguEntDomId1
    AND OGU_OGU2.OguEntId2 = DIV.EntId
    AND OGU_OGU2.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU2.OguEntId1
    AND DEPT.EntDomId = OGU_OGU2.OguEntDomId1
    UNION
    SELECT SEC.SecStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    GRP.GrpShortName GrpCode,
    GRP.GrpName GrpDesc,
    SEC.SecShortName SecCode,
    SEC.SecName SecDesc,
    NULL SSecCode,
    NULL SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erGroup GRP,
    erSection SEC,
    erOrgUnit_Orgunit OGU_OGU1,
    erOrgUnit_Orgunit OGU_OGU2,
    erOrgUnit_Orgunit OGU_OGU3
    WHERE OGU_OGU1.OguEntId2 = SEC.EntId
    AND OGU_OGU1.OguEntDomId2 = SEC.EntDomId
    AND GRP.EntId = OGU_OGU1.OguEntId1
    AND GRP.EntDomId = OGU_OGU1.OguEntDomId1
    AND OGU_OGU2.OguEntId2 = GRP.EntId
    AND OGU_OGU2.OguEntDomId2 = GRP.EntDomId
    AND DIV.EntId = OGU_OGU2.OguEntId1
    AND DIV.EntDomId = OGU_OGU2.OguEntDomId1
    AND OGU_OGU3.OguEntId2 = DIV.EntId
    AND OGU_OGU3.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU3.OguEntId1
    AND DEPT.EntDomId = OGU_OGU3.OguEntDomId1
    UNION
    SELECT SSEC.SubSecStructureString Structure,
    DEPT.DeptShortName DeptCode,
    DEPT.DeptName DeptDesc,
    DIV.DivShortName DivCode,
    DIV.DivName DivDesc,
    GRP.GrpShortName GrpCode,
    GRP.GrpName GrpDesc,
    SEC.SecShortName SecCode,
    SEC.SecName SecDesc,
    SSEC.SubSecShortName SSecCode,
    SSEC.SubSecName SSecDesc
    FROM erDepartment DEPT,
    erDivision DIV ,
    erGroup GRP,
    erSection SEC,
    erSubSection SSEC,
    erOrgUnit_Orgunit OGU_OGU1,
    erOrgUnit_Orgunit OGU_OGU2,
    erOrgUnit_Orgunit OGU_OGU3,
    erOrgUnit_Orgunit OGU_OGU4
    WHERE OGU_OGU1.OguEntId2 = SSEC.EntId
    AND OGU_OGU1.OguEntDomId2 = SSEC.EntDomId
    AND SEC.EntId = OGU_OGU1.OguEntId1
    AND SEC.EntDomId = OGU_OGU1.OguEntDomId1
    AND OGU_OGU2.OguEntId2 = SEC.EntId
    AND OGU_OGU2.OguEntDomId2 = SEC.EntDomId
    AND GRP.EntId = OGU_OGU2.OguEntId1
    AND GRP.EntDomId = OGU_OGU2.OguEntDomId1
    AND OGU_OGU3.OguEntId2 = GRP.EntId
    AND OGU_OGU3.OguEntDomId2 = GRP.EntDomId
    AND DIV.EntId = OGU_OGU3.OguEntId1
    AND DIV.EntDomId = OGU_OGU3.OguEntDomId1
    AND OGU_OGU4.OguEntId2 = DIV.EntId
    AND OGU_OGU4.OguEntDomId2 = DIV.EntDomId
    AND DEPT.EntId = OGU_OGU4.OguEntId1
    AND DEPT.EntDomId = OGU_OGU4.OguEntDomId1
    Trace file showing error ORA-10980. MV hangs forever and never compiles. If I execute the query it comes up with correct results.
    Thanks
    Rajesh

    I've seen MVs on 10g to be a bit tempermental. What happens if you build the MV but defer population and populate it as a second step?

Maybe you are looking for

  • Hard drive and Fan questions

    Just got this a few weeks ago and the fan seems to be going on...then off every few minutes. I open speedfan and it shows Temp1 (most likely the GPU) at 104F then when he fan comes on it goes to 126F then the fans go off and its back down to 104F. An

  • Keep share mounted

    I am planning on getting a mac mini for my home theater setup. however, after playing around with my MacBook Pro I have found that when the machine goes to sleep, any mounted shares are ejected. I am looking for a script to do this: If the share is m

  • IPhone 4S Connectivity In Europe

    I need to know if I can use My Verizon IPhone 4s in Europe with Local Sim Card

  • File appears to be unsupported or damaged - LR 2.3

    I have randomly been getting this message on jpegs that I have processed in LR 2.3 and also opened in PS CS3 and saved.  My RAW files are fine, and up until yesterday, if I saved a TIFF copy, the TIFF was fine.  Now I am also getting TIFF files being

  • Trouble with quick vpn

    at home, I can connect to my business with quick vpn but the network is not visible. How do you connect with servers at the business?