Error ORA-600 in UNTOTBS1 in the database pending.

primary following is the error I get in my backup database, works very well. Please suggest

ORA-00283: cool cancelled due to errors

ORA-00600: internal error code, arguments: [3020], [8388713], [1], [148430],

[[510], [392], [,]

ORA-10567: Redo is incompatible with the data block (file # 2, block # 105)

ORA-10564: tablespace UNDOTBS1

ORA-01110: data file 2: ' V:\ORACLE\ORADATA\SFMS\DATA\UNDOTBS01. DBF'

ORA-10560: block type "KTU EMS HEADER BLOCK.



ORA-01112: media recovery not started

Physical standby? Version of database? Patched up?

It looks like a file corruption.
Save this file to PROD and update on the eve and see if that fixes the problem.

Tags: Database

Similar Questions

  • Error ORA-16724: could not resolve the deficit for one or more databases in waiting

    I came to work today with the following error is displayed:

    February 5, 2014 01:27:19 error ORA-16778: make the mistake of transport for one or more databases.


    Looks like this error disappeared but now I have the following error:

    February 5, 2014 11:52:40 error ORA-16724: could not resolve the deficit for one or more databases in waiting

    I did some research on the forums and I think I need backup and restore, but I'm not sure.

    Here are some questions that I saw others asking in the forums:

    PRIMARY:

    Select max(sequence#) from v$ archived_log; -24589

    Select current_scn in the database of v$. -871568619

    SECONDARY:

    Select max(sequence#) from v$ archived_log; -24589

    Select max(sequence#) from v$ archived_log in case of application = 'YES '; -24562

    Select current_scn in the database of v$. -870987797

    Select * from v$ archive_gap;

    Thread # Low_Sequence # High_Sequence #.

    1 24563 24563

    Looks like everything is working, but the error is still appearing in OEM primer.

    The issue ended up being with the control file. I followed of many blog posts on how to roll forward the database before and they all said to restore the control file before you recover the database. I followed this paper: http://docs.oracle.com/cd/B28359_01/server.111/b28294/rman.htm#CIHIAADC and it worked as expected. The old control file has had 6 data files that were in a different place than the others. The new control file, I created the primary had all the files of data in one place. After correcting the control to point to the locations correct datafile all started working again.

  • Error ORA-600 on the Production Oracle Applications Instance

    Hello

    We get the error ORA-600 on the Instance of the Production Oracle Applications.

    Can any body suggest how to solve this problem.


    We got the error on 30 - Mar below... but the instance is up & running.

    Error as follows:
    ==========

    error occurred at the SQL level 1 recursive
    to "DMSYS. OLAPIHISTORYRETENTION', line 1
    [internal error code, arguments: [16206], [4294951254], [] [] [], [], []]
    internal error code, arguments: [16206], [4294951254]



    Thanks in advance for your help.

    Thank you
    Mudunuri Billon.

    What version of Oracle?

  • Error: ORA-16757: failed to get the value of this property

    Hi all
    I have an error:
    DGMGRL > see the database dbname_stb LogXptStatus;
    Error: ORA-16757: failed to get the value of this property
    I check:
    DGMGRL > see the configuration;

    Configuration - dbname_dg

    Protection mode: MaxPerformance
    Databases:
    dbname_pr - primary database
    dbname_stb - physical of the standby database

    Fast-Start Failover: DISABLED

    The configuration status:
    SUCCESS

    drcdbname_stb.log:
    RSM0: Received the request the property Get: rid = 0 x 01010000, pid = 54
    2012-10-17 15:21:14.702 of database Resource: get the LogXptStatus property
    RSM 15:21:14.702 2012-10-17 error: trying to interview a 'LogXptStatus' primary type property on a standby database resource.
    2012 10-17 error 15:21:14.702 database resource GetProperty (16501,16757)

    I don't understand this error?
    Thank you all.

    Take a look on this

    Re: ORA-00254 | Trouble with dataguard

  • Error Ora-600 - sql > create spfile from pfile - ERROR at line 1: ORA-00600

    Hello

    I am facing the following question in the database pending,

    Oracle 10g

    SQL > create spfile from pfile;
    Create spfile from pfile
    *
    ERROR on line 1:
    ORA-00600: internal error code, arguments: [ksplrmfn1], [3059], [3059], [], [],.
    [], [], []


    After you have added the db_file_name_convert and log_file_name_convert in pfile. If I remove these two spfile parameters is created successfully.

    Thank you.

    Here's the syntax exactly who i had given.

    db_file_name_convert = "/ u02/proddata", "/ u02/proddata ', ' / u03/proddata", "proddata1/u04 /, ' / u04/proddata ', ' / u04/proddata '
    log_file_name_convert = "/ u02/proddata", "/ u02/proddata ', ' / u03/proddata", "proddata1/u04 /, ' / u04/proddata ', ' / u04/proddata '

    Carefully, see apostrophe ending 4th missed rope... Changed as below. Use it and try again :)

    db_file_name_convert = "/ u02/proddata", "/ u02/proddata", "/ u03/proddata", "/ u04/proddata1", "/ u04/proddata", "/ u04/proddata.
    log_file_name_convert = "/ u02/proddata", "/ u02/proddata", "/ u03/proddata", "/ u04/proddata1", "/ u04/proddata", "/ u04/proddata.

    Close if answered threads

  • Problem with the current SNA on the database pending...

    Hello;

    A day ago I went on our main database on the eve of database, everything went well. But today when I checked current SNA for the two database, I saw that the two were different. and current SNA did not change on the standby database. What can cause this problem?

    some exits here when I tried to find the problem...

    on the primary database.

    SQL> select thread#, max(sequence#) from v$archived_log group by thread#;       
       THREAD# MAX(SEQUENCE#)
    ---------- --------------
             1            156 
    on the database pending;
    SQL> select thread#, max(sequence#) from v$archived_log  where applied='YES' group by thread#;
    
       THREAD# MAX(SEQUENCE#)
    ---------- --------------
             1            156 
    standby mode
    SQL> select LAST_CHANGE#, STATUS from V$STANDBY_LOG;
    
    LAST_CHANGE# STATUS
    ------------ ----------
         2927636 ACTIVE
               0 UNASSIGNED
               0 UNASSIGNED
               0 UNASSIGNED 
    standby mode
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
        2916773 
    on primary
    SQL> select current_scn from v$database;
    
    CURRENT_SCN
    -----------
        2927809
    Published by: Ecimen on 01:36 18.Eki.2012

    Published by: Ecimen on 01:47 18.Eki.2012

    SQL > change database recovery managed standby database disconnect from the session.

    modify the recovery of database managed standby database disconnect from the session
    *
    ERROR on line 1:
    ORA-01153: an incompatible media recovery is active
    >

    Most likely you had missed the log files from the backup site. You can check in question "select max(SEQUENCE#) from v$ loghist. Most likely old log files has not yet delivered to the main site backup site. Another simple method that you can do is stop tio watch db, and then start it as a mode of editing if you have 11 GR 2 db which should be enough. Oracle will automatically synchronized between primary and standby for you. If you can't wait, you can start the editing for db in waiting mode, then run the command "recover the database sleep until cancel;

  • Reg: verification of users in the database pending

    I need to check the users in the database pending. In the primary database, I got the result by querying dba_users. But how to check standby db, without opening the database.
    Is it possible with any views?

    No, you can't.

    Assuming that physical standby, you can only query dynamic views of performance when it is in MOUNT.

    I like the answer of sb92075. Its a copy of the same database. We're in a mode where you can search for users, and we're in a mode where you can not.

    Make sure that your databases are synchronized and interrogate primary school.

    Best regards and thanks!

    mseberg

  • Get the error ORA-600 [kkpo_rcinfo_defstg:objnotfound]

    11.2.0.2 RAC Unix version... Help me.

    To do this, please see metalink.

    ORA-600 [kkpo_rcinfo_defstg:objnotfound] [1292287.1 ID]. This seems to be a bug.

  • Error ORA-600 starting EBS R12.1

    Hello

    I'm starting my EBS R12.1 (RHEL 4.6) but I got this error
    SQL> startup
    ORACLE instance started.
    
    Total System Global Area 1071333376 bytes
    Fixed Size                  1318172 bytes
    Variable Size             427819748 bytes
    Database Buffers          629145600 bytes
    Redo Buffers               13049856 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [2252], [2359], [307031790], [], [],
    [], [], [], [], [], [], []
    My alert and trace logs shows:
    Errors in file /u01/orar1211/VIS/db/tech_st/11.1.0/admin/VIS_server01/diag/rdbms/vis/VIS/trace/VIS_ora_20256.trc  (incident=32132):
    ORA-00600: internal error code, arguments: [2252], [2359], [307031790], [], [], [], [], [], [], [], [], []
    Incident details in: /u01/orar1211/VIS/db/tech_st/11.1.0/admin/VIS_server01/diag/rdbms/vis/VIS/incident/incdir_32132/VIS_ora_20256_i32132.trc
    ORA-600 signalled during: alter database open...
    Thu Mar 30 10:02:05 2006
    Trace dumping is performing id=[cdmp_20060330100205]
    Thu Mar 30 10:02:06 2006
    Sweep Incident[32132]: completed
    Incident 33732 created, dump file: /u01/orar1211/VIS/db/tech_st/11.1.0/admin/VIS_server01/diag/rdbms/vis/VIS/incident/incdir_33732/VIS_ora_20517_i33732.trc
    ORA-00600: internal error code, arguments: [2252], [2359], [307031790], [], [], [], [], [], [], [], [], []
    Dump file /u01/orar1211/VIS/db/tech_st/11.1.0/admin/VIS_server01/diag/rdbms/vis/VIS/incident/incdir_33732/VIS_ora_20517_i33732.trc
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    ORACLE_HOME = /u01/orar1211/VIS/db/tech_st/11.1.0
    System name:    Linux
    Node name:      server01.abc.biz
    Release:        2.6.9-67.EL
    Version:        #1 Wed Nov 7 13:41:13 EST 2007
    Machine:        i686
    Instance name: VIS
    Redo thread mounted by this instance: 1
    Oracle process number: 16
    Unix process pid: 20517, image: [email protected] (TNS V1-V3)
    
    
    *** 2006-03-30 10:05:11.248
    *** SESSION ID:(400.5) 2006-03-30 10:05:11.248
    *** CLIENT ID:() 2006-03-30 10:05:11.248
    *** SERVICE NAME:() 2006-03-30 10:05:11.248
    *** MODULE NAME:([email protected] (TNS V1-V3)) 2006-03-30 10:05:11.248
    *** ACTION NAME:() 2006-03-30 10:05:11.248
    
    Dump continued from file: /u01/orar1211/VIS/db/tech_st/11.1.0/admin/VIS_server01/diag/rdbms/vis/VIS/trace/VIS_ora_20517.trc
    ORA-00600: internal error code, arguments: [2252], [2359], [307031790], [], [], [], [], [], [], [], [], []
    How I solve this problem please :(


    Thank you very much


    Ms. K

    Hi MSK;

    For your error message, it seems that there is no published doc, who is not related to your question. As you follow doc ID of the largest post Hussein snoussi, you will see that there are no published notes again.

    ORA 600 is an internal error which means you need to take support from oracle for can solve the problem. If the problem remains constant and if you still can't open database, as Hussein snoussi suggests connect you as soon as possible a Sr.

    Respect of
    HELIOS

  • error ORA-600 [[KCFQUEWR_2]

    Hi all

    Oracle 10 g 2 (10.2.0.5)
    OS linux

    I'm new to this forum...

    one of the dev instance Oracle10g resulted because of the error below...
    Alert.log info...
    ORA-600 [[KCFQUEWR_2]...
    ORA-01115, ORA-27069 when autoextend on...

    How to fix this...

    Published by: 995972 on March 25, 2013 07:02

    It seems to be a bug in oracle... Download the patch from metalink...
    recently, I met same question... patch number 8684595... It may be useful to you...

  • Error in the database pending Assembly

    Hi all

    OS: Solaris
    DB: 10 G

    I am facing the error listed below while I'm creating a database of watch on the same server.

    Here are the steps that I followed the same thing.

    1. check connectivity.
    2. has created the pfile to DB primary as mentioned below:
    *. DB_BLOCK_SIZE = 8192
    *. OPEN_CURSORS = 300
    *. CURSOR_SHARING = FORCE
    *. BACKGROUND_DUMP_DEST = "/ 11 g/oradata/admin/ettest/bdump"
    *. CORE_DUMP_DEST = ' / 11 g/oradata/admin/ettest/cdump ".
    *. User_dump_dest = ' / 11 g/oradata/admin/ettest/udump ".
    *. CONTROL_FILES =("/11g/oradata/Admin/Data/controlfiles/control01.) CTL"," / 11 g/oradata/Admin/Data/controlfiles/control02. " CTL")
    *. Db_name = ettest
    *. PROCESS = 150
    *. UNDO_MANAGEMENT = AUTO
    *. UNDO_TABLESPACE = undotbs
    * full = '10.2.0.1.0'
    *. STANDBY_FILE_MANAGEMENT = 'AUTO '.
    *. LOG_ARCHIVE_DEST_1 =' location = / 11 g/oradata/archives /'
    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
    *. DB_FILE_NAME_CONVERT ='/ 11 g/oradata/admin/data/data files / ',' / 11 g/oradata_dr/ettestdr/data files /'
    *. LOG_FILE_NAME_CONVERT ='/ 11 newspapers g/oradata/admin/data/files / ',' / 11 g/oradata_dr/ettestdr/redologs /'
    *. STANDBY_ARCHIVE_DEST = ' / 11 g/oradata_dr/ettestdr/dr_archives/ettestdr.
    *. LOG_ARCHIVE_DEST_2 = "SERVICE = ettestdr'"
    *. FAL_SERVER = "ETTESTDR."
    *. FAL_CLIENT = "ETTEST."

    3 set the pfile Dr. file:

    *. DB_UNIQUE_NAME = ettestdr
    *. DB_BLOCK_SIZE = 8192
    *. OPEN_CURSORS = 300
    *. CURSOR_SHARING = FORCE
    *. BACKGROUND_DUMP_DEST = "/ 11 g/oradata_dr/ettestdr/admin/bdump"
    *. CORE_DUMP_DEST = ' / 11 g/oradata_dr/ettestdr/admin/cdump ".
    *. User_dump_dest = ' / 11 g/oradata_dr/ettestdr/admin/udump ".
    *. CONTROL_FILES =("/11g/oradata_dr/ettestdr/controlfiles/standbycontrolfile.) CTL")
    *. Db_name = ettestdr
    *. PROCESS = 150
    *. UNDO_MANAGEMENT = AUTO
    *. UNDO_TABLESPACE = undotbs
    * full = '10.2.0.1.0'
    *. FAL_SERVER = "ETTEST."
    *. FAL_CLIENT = "ETTESTDR."
    *. STANDBY_FILE_MANAGEMENT = 'AUTO '.
    *. LOG_ARCHIVE_DEST_1 =' location = / 11 g/oradata/archives /'
    *. STANDBY_ARCHIVE_DEST = ' / 11 g/oradata_dr/ettestdr/dr_archives/ettestdr.
    *. LOG_ARCHIVE_DEST_2 = "SERVICE = ettestdr'"
    *. LOG_ARCHIVE_DEST_STATE_2 = 'REPORTER '.
    *. DB_FILE_NAME_CONVERT ='/ 11 g/oradata_dr/ettestdr/data files / ',' / 11 g/oradata/admin/data/data files /'
    *. LOG_FILE_NAME_CONVERT ='/ 11 g/oradata_dr/ettestdr/redologs / ',' / 11 newspapers g/oradata/admin/data/files /'

    4. Meanwhile I backed up the database and the same transferd on the location of DR and then I created the standbycontrolfiel using the command on the priamary with login sys server using the command:
    alter database create standby controlfile as ' / path ';
    5. my primary increased using the pfile of said file.
    6.I was also able to put my DR in phase nomount using the pfile above file
    7.i transferred the controlfile to the location appropriate server DR and when I'm putting DR db using:
    alter database base_de_donnees eve of Mount;
    I get the below mentioned error
    SQL > alter database base_de_donnees eve of Mount;
    change the basis of mountain rescue
    *
    ERROR on line 1:
    ORA-01103: the name "ETTEST" in the control of the database file is not "ETTESTDR"
    Please suggest...
    BR
    Sphinx

    Published by: $phinx19 on December 12, 2012 05:29

    Try to change standby init. file:

    DB_NAME=ETTEST
    

    Edited by: P. Forstmann on Dec 12. 2012 14:36

  • error ORA-12514... checked the error discription but unable to solve

    Friends,

    Operating system: win7 64 bit ultimate edt.
    DB:
    SQL*Plus: Release 11.2.0.3.0 Production on Sun Dec 2 09:40:00 2012
    
    Copyright (c) 1982, 2011, Oracle.  All rights reserved.
    
    Enter user-name: system/oradba@orcl
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    I added (UR = A) in my tnsnames.ora to my connection string orcl, but when I try to connect as this "sqlplus system/password@orcl" iam getting ora-12514 error... I know that for a local pc, we can connect without connection as "sqlplus system/password" string, but I have another database named rmdb with connection string rmdb "sqlplus system/password@rmdb" works... I cut both the details of connection string in the tnsnames file... both are correct... but why the orcl is not working...?
    \tnsnames.ora
    # Generated by Oracle configuration tools.
    
    orcl =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
          (UR = A)
        )
      )
    
    RMDB =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = rmdb)
          (UR = A)
        )
      )

    Hello

    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = CLRExtProc)
          (ORACLE_HOME = D:\app\oraserver\product\11.2.0\dbhome_1)
          (PROGRAM = extproc)
          (ENVS = "EXTPROC_DLLS=ONLY:D:\app\oraserver\product\11.2.0\dbhome_1\bin\oraclr11.dll")
        )
        (SID_DESC =
          (SID_NAME=orcl)
          (ORACLE_HOME=D:\app\oraserver\product\11.2.0\dbhome_1)
        )
      )
    
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
          (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
        )
      )
    

    Make sure you have your listener.ora as above, charge the listener and to validate the status of the listener.

    lsnrctl reload
    lsnrctl status
    

    Check if the ORCL service is registered with the listener, and if so, then try to connect to the database that you previously had.

    If you think that your question has been answered, then please consider fence marking it as answered.

    Kind regards
    Shivananda

  • Error ORA-600

    Hi all

    Due to an error, I opened the database with resetlogs by setting the parameter RESETLOGS_CORRUPTION ALLOW. But while checking the data in the table, I got the below error:

    Errors in the c:\oracle\product\10.2.0\admin\compass\udump\compass_ora_480.trc file:
    [ORA-00600: internal error code, arguments: [kcbz_check_objd_typ_3], [0], [0], [1], [], [], []]


    Please help me urgent.

    Kind regards
    Vish

    No need to apologize since you had nothing done. What I suggested is that you should try to get OSS involved here because things have now is more seriously damaged.

    HTH
    Aman...

  • Gets the error ORA-01779 after I added the column

    Hi, I'm a total newbie in APEX but collaborated with ordinary development Oracle (tables, views, packages, triggers, etc) for a number of years.

    I ve been assigned in order to respect an existing application to APEX. One task is to add a column to a single character named 'ACTIVE' to a database table and also present on a current project list page. The value can be 'Y' or 'n'. In the view which is the source of data for the project page ad 'Y' turned into 'Yes' and 'n' turned into 'no '. So far so good, everything works well.

    There is another page on which it is possible to create new or modify existing projects. This page uses a view as a source of data. On this page, I added a group of radiobutton that contains two options: 'Yes' and 'no '. When I select to edit a project in the project list page the second page is loaded and the correct option, 'yes' or 'No', is marked on the page. This group of radiobutton works exactly like a couple of other groups of radiobutton also represented with a single character column in the database. So far so good!

    However, when I try to save the project file by clicking on "Apply Changes" I get this error:

    ORA-20001: DML error: p_rowid = 50, ID = p_alt_rowid, p_rowid2 =, p_alt_rowid2 is. ORA-01779: cannot modify a column that is mapped to a table not preserved key

    What is the problem here? The new 'ACTIVE' column is added to the view, when I run the view I Don t get all records in duplicate, the underlying table has a column id as the primary key.

    Since I Don t know that APEX is under the hood it s hard tp what's wrong. Anyone knows the solution to this problem?

    / Magnus

    Hello Magnus,

    Is there an INSTEAD OF trigger defined on the view? Have you added the new column ACTIVE there too?

    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this response in marking it as useful or Correct ;-)

  • ERROR "ora-01422" during insertion in the table?

    Hello

    I have created the dynamic action of PL/SQL to insert data but founded by page_item

    
    
     declare 
    x_found_pages number;
    x_auth_id number;
    x_user_id number;
     begin
     x_user_id := :P41_USR_ID; -- this is my page_item _____ successful run When change it to number value .. !
    
    
    
    
          select count(V_APP_PAGES.PAGE_ID) into x_found_pages
          from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES 
          where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID
          and  V_AUTH_DTL.USR_ID = x_user_id;
       
          select T_AUTH.ID into x_auth_id 
          from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH 
          where T_AUTH_DTL.AUTH_ID=T_AUTH.ID
          and T_AUTH.USR_ID = x_user_id;
    
    
    -- Checking...? 
      if x_found_pages > 0 then
    
            for i in (select V_APP_PAGES.PAGE_ID
               from V_AUTH_DTL V_AUTH_DTL,V_APP_PAGES V_APP_PAGES 
               where V_AUTH_DTL.PAGE_ID!=V_APP_PAGES.PAGE_ID
               and  V_AUTH_DTL.USR_ID = x_user_id)
        
      loop
      insert into T_AUTH_DTL (AUTH_ID,PAGE_ID) values (x_auth_id,i.PAGE_ID);
      end loop;
    
        end if;
    
     end;
    
    
    
    

    Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...

    Thank you...

    AMR Abdeen wrote:

    I have created the dynamic action of PL/SQL to insert data but founded by page_item

    1. declare
    2. number of x_found_pages;
    3. number of x_auth_id;
    4. number of x_user_id;
    5. Start
    6. x_user_id: =: P41_USR_ID; -It is my page_item _ successfully performed when change to value the number...!
    7. SELECT count (V_APP_PAGES. Page_id) in x_found_pages
    8. of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
    9. where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
    10. and V_AUTH_DTL. USR_ID = x_user_id;
    11. Select T_AUTH.ID from x_auth_id
    12. of T_AUTH_DTL T_AUTH_DTL, T_AUTH T_AUTH
    13. where T_AUTH_DTL. AUTH_ID = T_AUTH.ID
    14. and T_AUTH. USR_ID = x_user_id;
    15. -Checking...?
    16. If x_found_pages > 0 then
    17. I'm in (select V_APP_PAGES. PAGE_ID
    18. of V_AUTH_DTL V_AUTH_DTL, V_APP_PAGES V_APP_PAGES
    19. where V_AUTH_DTL. PAGE_ID! = V_APP_PAGES. PAGE_ID
    20. and V_AUTH_DTL. USR_ID = x_user_id)
    21. loop
    22. insert into T_AUTH_DTL (AUTH_ID, PAGE_ID) values (x_auth_id, i.PAGE_ID);
    23. end loop;
    24. end if;
    25. end;

    Please help me to avoid the ERROR "ora-01422" when running code in the dynamic action...

    The error is explicit:

    ORA-01422: exact fetch returns more than number of lines

    Cause: The exact extraction specified number is less than the rows returned.

    Action: Rewrite the query or change the number of rows requested

    This would imply the query in line 16 as County dissociated in the previous one will always return only one row.

    Run

    select T_AUTH.ID into x_auth_id
    from T_AUTH_DTL T_AUTH_DTL,T_AUTH T_AUTH
    where T_AUTH_DTL.AUTH_ID=T_AUTH.ID
    and T_AUTH.USR_ID = :x_user_id
    

    in the workshop of SQL by using the P41_USR_ID value in the variable link to find out how many rows it returns.

    It is likely that the entire block can be replaced by a single INSERT statement. If you provide instructions CREATE TABLE, INSERT statements to create sample data and a clear definition of the requirements that we try to do.

    What is the point of the inclusion of tables aliases that are exactly the same as the names of the tables?

Maybe you are looking for