ORA-01403: no data found on the LOGICAL standby database

Hello

Logical question of Eve:
Enterprise Edition Oracle 10.2.0.2.

M work waiting LOGIC for 1 year but still i have not had this...
I m not be countinuously no data foud errror on the logic of the standby database.

I found the table causing the problem (db_logstdby_events) and jumped this table and table instantiated using the package bwlow:

exec dbms_logstdby.instantiate_table (...)

but when I start to apply the logical waiting process it gives again some were found for the new data table:

I even tried to instantiate the table to EXPORT/IMPORT assistance over time, but the same problem same deal with.

As much as I knew abt the error that is:
Table1:
ID
10
20
30


Now if sql apply processes on standby logic tent performs the operation of (for example) updated as below

Update table1 set id = 100 where id = 50;

above request will not be completed cos he'll never find 50 values which is not in the table. That is why this error coming...


Now my concern is... no user didn't dare change/make of such changes on the logic ensures. So if there is no change in the tables, then apply it sqll should get all the values to be needded for an update...

watingggg guyssss...

Hello;

How do you know that the database pending is compatible with the primary?

Are there opportunities has one or several tables have been created on the eve before they were created on the primary? (If Yes check in DBMS_LOGSTDBY. INSTANTIATE_TABLE)

Or jump and re-instantiate the table.

Example of

EXEC DBMS_LOGSTDBY.SKIP('DML','EMPLOYEES','%');

EXECUTE DBMS_LOGSTDBY.INSTANTIATE_TABLE  ('YOUR_USER', 'EMPLOYEES', 'YOUR_DBLINK');

Best regards

mseberg

Tags: Database

Similar Questions

  • When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    When I try to change the interactive report columns, then triggers the error: "unable to change column attributes. "ORA-01403: no data found. Pls tell me why?

    You use listener EA3 ADR?

  • You are not allowed to open the form ORA-01403: no data found

    Hello

    I created a new forms of Oracle 10 g. It compiles successfully, but when it is open, it gives an error message: you are not allowed to open the form ORA-01403: no data found.

    I am already connected to the database. Please can someone help what is the reason of this problem, and no matter what possible resolution?

    Looks like you have some kind of security is enabled.  However, because you do not share details about your environment or what you're doing here is not that we can do is guess.

    • Exactly what version of forms do you use?
    • Exactly which version of the database that you are using?
    • You use something like Oracle E-Business (e.g. template.fmb)?
    • You created the form with Oracle Designer?
    • If you create a simple form using only the layout assistants and the DataBlock compared to schema Oracle demo (SCOTT), this form run?

    No additional details describing what you do or have done could be useful.

  • DAC 11.1.1.6.4 fails with the error cannot get columns: ORA-01403: no data found

    Hello

    We strive to run a full charge in DAC, but it is a failure.

    The S_ASSET table is empty and therefore, we get the error

    Could not get column: ORA-01403: no data found

    We were not facing this error in DAC 10 g but after upgrade to DCA 11 g, this task has no place if the array is empty. How remove this restriction and DAC will work perfectly even if the tables are empty to full charge?

    CAD DETAILS

    Console Administration Oracle BI DW

    CAD build a 11.1.1.6.4.20121119.2022 Build date: November 19, 2012

    Management Console to install, configure, and administer the Warehouse Analytics of Oracle Business

    Schema version - 47, Index version - 36, repository version - 6, data version Seed - 16

    INFORMATICA - VERSION9.0.1 HF2


    Here's the log of IMG_BUILD - S_ASSET when this task was running in DAC 10 g. The task facing any problem when S_ASSET table was empty.

    [code]

    2013-12-23 15:34:29.644 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET began.

    the number of days of prunes: 4

    After change data capture: 2013-12-19 12:23:19.332 in full Mode.

    2013-12-23 15:34:29.69 - execution:

    TRUNCATE TABLE S_ETL_I_IMG_6

    2013-12-23 15:34:29.89 - executed successfully.

    2013-12-23 15:34:29.9 - execution:

    TRUNCATE TABLE S_ETL_R_IMG_6

    2013-12-23 15:34:30.145 - executed successfully.

    2013-12-23 15:34:30.16 - execution:

    TRUNCATE TABLE S_ETL_D_IMG_6

    2013-12-23 15:34:30.198 - executed successfully.

    2013-12-23 15:34:30.236 - execution:

    INSERT / * + APPEND * / INTO S_ETL_R_IMG_6

    (ROW_ID, MODIFICATION_NUM, LAST_UPD)

    SELECT

    ROW_ID

    MODIFICATION_NUM

    LAST_UPD

    Of

    S_ASSET

    WHERE

    LAST_UPD > TO_DATE ('2013-12-19 12:23:19 ',' ' YYYY-MM-DD HH24:MI:SS)

    2013-12-23 15:34:30.968 - executed successfully.

    2013 12-23 15:34:30.989 - execution of deleting duplicates rowid.

    2013-12-23 15:34:31.01 - successfully deleting duplicates rowid.

    2013-12-23 15:34:31.27 - execution:

    DROP VIEW V_ASSET

    2013-12-23 15:34:31.566 - executed successfully.

    2013-12-23 15:34:31.569 - execution:

    CREATE VIEW V_ASSET AS

    SELECT

    *

    Of

    S_ASSET

    2013-12-23 15:34:31.743 - executed successfully.

    2013-12-23 15:34:31.78 - execution:

    SELECT COUNT (*) IN S_ASSET

    The County is: 0

    Executed successfully: CHANGE CAPTURE: IMG_BUILD - internal S_ASSET

    (Number of attempts: 1).

    Executed orders:

    IMG_BUILD - internal

    2013-12-23 15:34:31.851 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET has finished running with the completed state.

    The same task, IMG_BUILD - S_ASSET fails when it is running in DAC 11 g, because the table is empty. Here is the log for the failure of the task to 11g.

    [code]

    2013-12-27 21:21:47.497 acquisition of resources

    2013-12-27 21:22:20.33 acquired resources

    2013-12-27 21:22:20.787 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET began.

    the number of days of plum: 5760

    After change data capture: 2013-12-23 21:19:19.233 in full Mode.

    21:22:21.211 2013-12-27 - execution:

    TRUNCATE TABLE S_ETL_I_IMG_6

    2013-12-27 21:22:22.384 - executed successfully.

    21:22:22.389 2013-12-27 - execution:

    TRUNCATE TABLE S_ETL_R_IMG_6

    2013-12-27 21:22:22.532 - executed successfully.

    21:22:22.534 2013-12-27 - execution:

    TRUNCATE TABLE S_ETL_D_IMG_6

    2013-12-27 21:22:22.546 - executed successfully.

    21:22:22.55 2013-12-27 - execution:

    INSERT / * + APPEND * / INTO S_ETL_R_IMG_6

    (ROW_ID, MODIFICATION_NUM, LAST_UPD)

    SELECT

    ROW_ID

    MODIFICATION_NUM

    LAST_UPD

    Of

    S_ASSET

    WHERE

    LAST_UPD > TO_DATE ('2013-12-23 21:19:19 ',' ' YYYY-MM-DD HH24:MI:SS)

    2013-12-27 21:22:22.614 - executed successfully.

    2013 12-27 21:22:22.616 - execution of deleting duplicates rowid.

    2013-12-27 21:22:24.72 - successfully deleting duplicates rowid.

    Could not get column: ORA-01403: no data found

    FAULT INFO: Error executing: CHANGE CAPTURE: IMG_BUILD - internal S_ASSET

    MESSAGE: com. Siebel.Analytics.etl.Execution.exceptions.ChangeCaptureTaskFailedException: Change Capture failed.

    EXCEPTION CLASS: java.lang.RuntimeException

    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:536)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)

    com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

    java.lang.Thread.run(Thread.java:619)

    : CAUSE:

    MESSAGE: change Capture failed.

    EXCEPTION CLASS: com.siebel.analytics.etl.execution.exceptions.ChangeCaptureTaskFailedException

    com.siebel.analytics.etl.etltask.ChangeCaptureTask.executeChangeCapture(ChangeCaptureTask.java:93)

    com.siebel.analytics.etl.etltask.ChangeCaptureTask.doExecute(ChangeCaptureTask.java:46)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.doExecuteWithRetries(GenericTaskImpl.java:477)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:372)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.execute(GenericTaskImpl.java:253)

    com.siebel.analytics.etl.etltask.GenericTaskImpl.run(GenericTaskImpl.java:655)

    com.siebel.analytics.etl.taskmanager.XCallable.call(XCallable.java:63)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.Executors$ RunnableAdapter.call (Executors.java:441)

    java.util.concurrent.FutureTask$ Sync.innerRun (FutureTask.java:303)

    java.util.concurrent.FutureTask.run(FutureTask.java:138)

    java.util.concurrent.ThreadPoolExecutor$ Worker.runTask (ThreadPoolExecutor.java:886)

    java.util.concurrent.ThreadPoolExecutor$ Worker.run (ThreadPoolExecutor.java:908)

    java.lang.Thread.run(Thread.java:619)

    (Number of attempts: 1).

    IMG_BUILD - internal

    2013-12-27 21:22:31.526 CHANGE CAPTURE: IMG_BUILD - internal S_ASSET has finished running with the Failed state.

    [[code


    The CREATE VIEW privilege was missing from the CAD database user, therefore, was not to create the step. I have granted CREATE VIEW and all is well.

  • ORA-01403: no data found

    Hello

    The following procedure works fine when the select statement returns a line.
    However, it creates "ORA-01403: no data found" error when no data is returned for select.

    When I put the following exception after select it, It doest go inside the if block. (It stops after selection). Do not know why.
    exception
    when NO_DATA_FOUND then null;
    How can I set an exception for this?
    CREATE OR REPLACE PROCEDURE kill_blocking
    IS
    l_sid number(10); 
    l_serial number(10);
    l_wait number(10);
    l_username varchar2(20);
    sqlStmt VARCHAR2(1000);
    BEGIN
    
    SELECT s1.sid,s1.serial#,s2.seconds_in_wait,s2.username
    into l_sid,l_serial,l_wait,l_username
    FROM v$lock l1, v$session s1, v$lock l2,v$session s2,v$sql sqlt1, v$sql sqlt2
    WHERE s1.sid =l1.sid
    AND s2.sid =l2.sid AND sqlt1.sql_id= s2.sql_id AND sqlt2.sql_id= s1.prev_sql_id AND l1.BLOCK =1
    AND l2.request > 0 AND l1.id1 = l2.id1 AND l2.id2 = l2.id2;
    
    if l_username='APP' and l_wait > 100
    then 
    sqlStmt := 'ALTER SYSTEM KILL SESSION ''' || TO_CHAR(l_sid) ||',' || TO_CHAR(l_serial) ||'''' ;
    dbms_output.put_line( sqlStmt );
    
    EXECUTE IMMEDIATE sqlStmt;
    
    
    END IF;
    END;
    / 

    Check this box

    SQL> CREATE OR REPLACE PROCEDURE kill_blocking IS
      2     l_sid        NUMBER (10);
      3     l_serial     NUMBER (10);
      4     l_wait       NUMBER (10);
      5     l_username   VARCHAR2 (20);
      6     sqlstmt      VARCHAR2 (1000);
      7  BEGIN
      8     SELECT s1.SID, s1.serial#, s2.seconds_in_wait, s2.username
      9       INTO l_sid, l_serial, l_wait, l_username
     10       FROM v$lock l1,
     11            v$session s1,
     12            v$lock l2,
     13            v$session s2,
     14            v$sql sqlt1,
     15            v$sql sqlt2
     16      WHERE s1.SID = l1.SID
     17        AND s2.SID = l2.SID
     18        AND sqlt1.sql_id = s2.sql_id
     19        AND sqlt2.sql_id = s1.prev_sql_id
     20        AND l1.BLOCK = 1
     21        AND l2.request > 0
     22        AND l1.id1 = l2.id1
     23        AND l2.id2 = l2.id2;
     24
     25     IF l_username = 'APP' AND l_wait > 100
     26     THEN
     27        sqlstmt :=
     28              'ALTER SYSTEM KILL SESSION '''
     29           || TO_CHAR (l_sid)
     30           || ','
     31           || TO_CHAR (l_serial)
     32           || '''';
     33        DBMS_OUTPUT.put_line (sqlstmt);
     34
     35        EXECUTE IMMEDIATE sqlstmt;
     36     END IF;
     37  EXCEPTION
     38     WHEN NO_DATA_FOUND
     39     THEN
     40
     41        DBMS_OUTPUT.put_line ('No Data Found');
     42  END;
     43  /
    No Data Found
    
    PL/SQL procedure successfully completed.
    
  • Function body PLSQL returning a sql report returns ORA-01403 no data found

    I'm on APEX 3.1.2.00.02 and Oracle 10 g.

    I develop a relationship with the type of SQL query (body of function from PL/SQL returning SQL query). But the performance of the report, I get

    error report:
    ORA-01403: no data found


    Source of the region
    declare
      qry varchar2(32767);
    begin
      --Procedure call
      my_pkg.get_query(qry);
    
      htp.p(qry);
    
      return /*select 1 from dual */ qry;
    end;
    Procedure
    PROCEDURE get_query (V_QRY OUT VARCHAR2)
    IS
      qry varchar2(32767);
    begin
    
      qry := ' select name
         , max(decode(to_char(service_date,''Mon-YY''), ''Jan-09'', value, null)) as "Jan-09"
         , max(decode(to_char(service_date,''Mon-YY''), ''Jan-09'', value, null)) as "Feb-09"
         from MY_TABLE
         group by name ';
      
      V_QRY := qry;
    end;
    The query will be improved later to add more month and year according to the user settings that I am running on this report.

    I want to use specific query column names. I saw this suggestion from Scott in a number of threads to use / * select 1 double * / with the query, but does not not in my case.

    Please can anyone suggest what I can do to make it work?

    Kind regards

    Amir

    First of all, unit you have tested the procedure (namely, in the workshop of SQL, SQL * Plus, SQL Developer, etc, etc) to see if it produces the output in the first place right?

    If you have, and the generated query string is valid, try to assign the output to a page element (allowing you to visualize in the session browser), or even through the procedure output window for debugging (using the wwv_flow.debug function). This might indicate a change of State or session that is causing it not to return. You might find this easier to achieve if you switch from one "procedure and output parameter ' combination 'function returning string' approach."

    If not, try to re-create the report in a new region - sometimes I came across strange bugs with parts of the report which were solved in this way.

  • ORA-01403: no data found / error line could not.

    Hi all
    I copy a page form another application and I run to the demand for labour.
    I got following error:
    ORA-01403: no data found
    Error line could not.

    Any idea,

    Thank you
    NY

    Ok

    Andy

  • ORA-01403: no data found for default

    I have the body of the following pl/sql function to set the default value of a selection list.

    DECLARE
    VARCHAR2 (100);
    BEGIN
    Select person_id in selected in ht_people
    where: app_user = flow_user;
    RETURN selected;
    END;


    It works perfectly until the user is not on the list and then I get:

    ORA-01403: no data found
    ERR-9131 error in PLSQL function for default code point body, item = P7_IDENTIFIED_BY

    Is there an item property that I can put to treat it or must it be done in PL/SQL?

    It throws no error if the user did not find:

    DECLARE
       selected   VARCHAR2 (100);
    BEGIN
       FOR c IN (SELECT person_id
                   FROM ht_people
                  WHERE :app_user = flow_user)
       LOOP
          selected := c.person_id;
       END LOOP;
    
       RETURN selected;
    END;
    

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • OCI error ORA-01403: no data found in oracle goldengate replication after tts instaniation

    I recently migrated our central system of tg (11.1.0.7) solaris from Sun to linux (11.2.0.3) environment using goldengate (tablespace transportable method used for instantiation).

    Initial replication has worked with HANDLECOLLISIONS and after I took over LAG, I took off Handlecollisions and noticed updated report discarded with OIC error ORA-01403: no data available in two repetitions.


    I followed all the steps in the migration tts steps provided by oracle best practices.


    Can anyone provide any clue how to fix this?


    Thank you in advance.

    For that error, the common problem is missing data, GoldenGate cannot find it because there is no key (search KEYCOLS in the installation guide), or a null is present (trying to update a record and a constraint is not null).

  • ORA-01403 no data found cursor error - please help.

    DECLARE
    Name1 talent.candidate_name%TYPE; -Declaring variables
    long name2; -Declaring variables
    emp_id talent_id.emplid%TYPE.
    EXCEPTION NO_DATA_FOUND.

    CURSOR c1 IS
    Select candidate_name,('''||) Trim (Upper (candidate_name)) | "') as tst of talent;
    BEGIN
    OPEN c1;
    LOOP
    FETCH c1 INTO name1, name2;
    OUTPUT WHEN c1% NOTFOUND; -TRUE when FETCH can't find none online

    Select distinct emplid
    IN emp_id
    a names
    where a.name_type = 'PRI '.
    and upper (a.last_name) | ',' | Upper (a.first_name) = name2;


    INSERT INTO talent_id VALUES (emp_id, Name1);

    END LOOP;

    CLOSE c1;
    COMMIT;





    Question: Above queries ask me the msg of error ora-01403 no data available for emplid. I try but fail to solve. Please help me. Thank you

    Published by: user12051088 on March 4, 2010 01:38

    Published by: user12051088 on March 4, 2010 01:40

    This unique INSERT could possibly end up with all of your pl/sql code!

    insert into Talent_ID (Emp_ID
                          ,Name1)
                    (select distinct
                            a.Emp_ID
                           ,t.Candidate_Name
                     from   names a
                           ,Talent t
                     where  a.Name_Type = 'PRI'
                     and    upper(a.Last_Name || ', '|| a.First_Name) = trim(upper(t.Candidate_Name))
                    )
    /
    

    Keep in mind, there is no way for me to test it! Furthermore, TALENT_ID is a strange name for a table. Probably typo but simply change the INSERT statement accordingly!

    P;

  • Enterprise Manager on the logical standby database

    Hello

    I just put in place a system of logical standby database.

    Is it possible to install the Manager of the business on the logical database?
    Since it works in "read only mode", I'm not sure about this

    Concerning

    Christian

    Enterprise Manager can be used to monitor and manage backup of database, logical and physical targets.

    See you soon,.
    Brian

  • In: creating a custom update process: ORA-01403 no data found.

    I have a tabular presentation for a table called com_transactions.

    I have a column in the form that does not exist in the table that is editable (I have the code that simply displays an error message on the appropriate line, which is the column)

    When I am happy with the data I submit an application.

    I then pl/sql next executed conditionally when the application is submitted. (submit calculations and validations)

    BEGIN
    : P42_VALIDATION_MESSAGE: = apex_application.g_f02. COUNTY;

    FOR i FROM 0... apex_application.g_f02. COUNTY
    LOOP

    IF apex_application.g_f01 (i) IS NULL THEN
    INSERT INTO com_transactions (Month_num
    Financial_Year
    transactions)
    VALUES (apex_application.g_f03 (i)
    apex_application.g_f04 (i)
    apex_application.g_f05 (i));


    ON THE OTHER
    UPDATE com_transactions
    SET Month_num = apex_application.g_f03 (i),
    Financial_Year = apex_application.g_f04 (i),
    transaction = apex_application.g_f05 (i)
    WHERE ID = apex_application.g_f01 (i);

    END IF;

    END LOOP;
    END;

    The process described above is any mistake producing an ORA-01403: no found error.

    Ideas please people?

    your muchly

    JH

    FOR i FROM 0... apex_application.g_f02. COUNTY

    The array index starts from 1, not 0

    You will also get this error when the berries f01, f02, f03, f04 or f05 is not available in the page or has no items for the specified index. For example the radio buttons and boxes to check an example extracted only records checked/selected.

  • create the table on the logical standby database

    Dear administrators,

    Here is my situation;
    1. my primary database (where the owner of the table is "ICC" having a DBA) is used for insert/update operations.
    2. the logic stdby DB (dataguard structure with MAX availability) is used to generate reports, after update tables belonged to the same "BCC" user Note that these tables is excluded from replication.
    3. developers may need to create this kind of tables to generate a different kind of reports.

    The problem is that when the application of standby is enabled or disabled, the ICC user is not able to create a new table, it gives ORA-01031: insufficient privileges. Note that it is not practical to ask the ADMINISTRATOR to disable "APPLY" to any table creation.

    You have an idea on how to solve.

    My database is path.10.2.0.4.0 10 gr 2 on Windows 2003

    Thanks in advance

    Here's your solution provided.

    Kind regards.

  • ERR-7620 could determine no workspace for the application (4950), ORA-01403: no data found

    Hi, I am trying to upgrade XE APEX 4-5 with this tutorial

    https://docs.Oracle.com/CD/E59726_01/install.50/e39144/oracle_xe.htm#HTMIG29430

    Everything was fine, no errors, but after upgrade, I can't run apex over and get this err message.

    Laptop with MS 8.1 PRO, 64

    What should do? Thanks for help.

    Have you read step # 8 in the instructions? :

    1. Go to the Oracle Application Express Administration Services application:

      1. In a Web browser, go to:

        http://hostname:port/apex/apex_admin
        

        Where:

        hostnameis the name of the system where Oracle XML DB Protocol server is installed.

        portis the port assigned to HTTP the server of Oracle XML DB Protocol number. In a default installation, this number is 8080. If you use the multitenancy of 12 database Oracle, then each database plug-in (PDB) will be a separate port number.

        apexthe database access descriptor (DAD) is defined in the configuration file.

      2. On the login page:
        • Username - enter admin .

        • Password - enter the Oracle Application Express account password specified in step 7.
        • Click on connect to Administration.

        Note that, depending on your configuration, you may need to change your password when you sign in for the first time.

    Thank you

    Tony Miller
    Software LuvMuffin
    Ruckersville, WILL

  • ORA-01403: no error found

    Hi all

    When I execute my procedure I my get below error:

    ORA-01403: no data found

    100

    I had set out below in my procedure that returns no rows.

    IF (p_is_number = 1 AND p_tag_value < 0) THEN

    SELECT MTH_ENTITY IN V_ENTITY OF TAG_DESTINATION_MAP M WHERE TAG_CODE = p_tag_code;

    IF (V_ENTITY IS NOT NULL) THEN

    v_err_code: = v_err_code | "NGV";

    END IF;

    IF p_is_cumulative = 0 THEN

    p_is_valid_timestamp: = TRUE;

    END IF;

    end if;

    I want that if the condition above is not met (WHERE TAG_CODE = p_tag_code) then you have to v_err_code: = v_err_code | 'MMP '; and the code above should not mistake.

    Any suggestions on how this can be done?

    Thanks in advance.

    Hello

    Exception of writing as below...

    IF (p_is_number = 1 AND p_tag_value< 0)="">

    Start

    SELECT MTH_ENTITY IN V_ENTITY OF TAG_DESTINATION_MAP M WHERE TAG_CODE = p_tag_code;

    exception

    When no_data_found then

    v_err_code: = v_err_code | 'MMP ';

    end;

    IF (V_ENTITY IS NOT NULL) THEN

    v_err_code: = v_err_code | "NGV";

    END IF;

    IF p_is_cumulative = 0 THEN

    p_is_valid_timestamp: = TRUE;

    END IF;

    end if;

    Hope this will help you...

Maybe you are looking for