update of the EUL5 Tables

Hello

I need to rename my files EUL & elements following a naming convention, I thought updating the tables of EUL5 in the following way:


-Step 1: Create a copy of eul5_objs:
create table eul5_objs_cpy as select * from eul5_objs ;
-Step 2: update eul5_objs:
update eul5_objs set obj_name = initcap (obj_name);
-Step 3: Create a copy of eul5_expressions:
create table eul5_expressions_cpy as select * from eul5_ expressions ;
-Step 4: Update the eul5_ expressions:
UPDATE eul5_expressions e
   SET e.exp_name =
       (SELECT TRIM(DECODE(INSTR(m.exp_name, ':'),
                      0,
                      LOWER(t.obj_name) || ' : ' || INITCAP(m.exp_name),
                      SUBSTR(m.exp_name, 1, INSTR(m.exp_name, ':', 1, 1) - 1) ||
                      INITCAP(SUBSTR(m.exp_name, INSTR(m.exp_name, ':', 1, 1)))))
          FROM eul5_expressions m, EUL5_OBJS t
         WHERE m.it_obj_id = t.obj_id
           AND e.exp_id = m.exp_id)
 WHERE e.it_obj_id is not null
but I heard that EUL5 tables updated could corrupt the EUL and he'd end up unable to export/import it via the command line, then asked me to update the EUL manually by the administrator.

For my information, could someone explein me what is the difference and how it could damage the EUL?

Thank you.

Mcha

Hi mcha
Like the previous of Tamir answer, you should be careful updating behind the scenes. According to me, these are the only paintings directly referencing the name in this case, it seems that you should be ok.

One thing to be aware of, is that workbooks also incorporate the name and identifier of the folder within each compiled worksheet. As long as the administrator does not change the name and the identifier at the same time binders will continue to open. However, until the workbook is re-registered only the identifier will be correct and should anyone subsequently change an identifier without a workbook saved shows the name of the folder then change the workbook will open more.

Therefore, I advise you also ask your users to open each workbook after the name change and then re-register. In this way, the new name of the folder will get embedded in spreadsheets, sort of covering all the bases.

Best wishes
Michael

Tags: Business Intelligence

Similar Questions

  • Updating of the ADF Table strangely after delete line

    Hello

    I use ADF Table with ArrayList to the model of the collection. I do not use View object

    < af:table var = value ' row' = "#{pageFlowScope.dataBean.collectionModel}"... "

    I have a SelectOnceChoice in each row of the table and bind their values to a property of the line

    < af:selectOneChoice value = "#{row.label}"... "

    I have a command link to remove each line and the delete method:

    collectionModel.remove (idx);

    The model is correctly updated, but the table of the ADF is not. Somehow, the value of the selection of the next line is set to the value of the deleted row.

    For example: If there two select with values respectively: Foo, Bar. If I remove the line with Foo, the remaining line (initially Bar) is set to Foo.

    If I refresh (F5) the page, it appears correctly. I also tried to use addPartialTarget and partialTriggers but no help.

    Can someone help me? Thanks in advance.

    Post edited by: 2925664

    Hello

    Previously I use table binding, that's why it has that name.

    BTW, I don't know what's causing the problem. It is related to the life cycle ADF. I put the immediate = "true" for the select box and it is working fine now.

    Concerning

  • UPDATE on the same table in the sub query

    DB version: 11.2

    We have a table called SHP_GC_TRACK, which has about 8 million records with partitions. In the below UPDATE, it updates a column based on the SELECT on the same table in a subquery.
    UPDATE shp_gc_track a
       SET f_tran_proc  = 'Y'
     WHERE last_update_date <
              (SELECT MAX (last_update_date)
                 FROM shp_gc_track b
                WHERE a.shp_trx_rowid = b.shp_trx_rowid
                  AND a.c_shp_inst = b.c_shp_inst
                  AND a.f_tran_proc  = b.f_tran_proc 
                  AND b.f_ltr_received = 'D'
                  AND f_rec_code IN ('G', 'W')
                  AND b.f_rec_status = 'B'
                  AND b.c_shp_inst = :b1
                  )
       AND a.c_shp_inst = :b1
       AND a.f_ltr_received = 'D'             -----------------> part of composite index
       AND a.f_tran_proc  = 'N'              -----------------> part of composite index
       AND a.f_rec_code IN ('G', 'W')      --------------> part of composite index  
       AND a.f_rec_status = 'B';              -----------------> part of composite index  
    This UPDATE takes a long time to run and sometimes get hung up.

    We have a composite index on four columns f_ltr_received, f_rec_code, f_rec_status and f_tran_proc. Explain the plan shows that this composite index is used.



    Any way to rewrite this query or suggestion?

    Steve_74 wrote:
    DB version: 11.2

    We have a table called SHP_GC_TRACK, which has about 8 million records with partitions. In the below UPDATE, it updates a column based on the SELECT on the same table in a subquery.

    UPDATE shp_gc_track a
    SET f_tran_proc  = 'Y'
    WHERE last_update_date <
    (SELECT MAX (last_update_date)
    FROM shp_gc_track b
    WHERE a.shp_trx_rowid = b.shp_trx_rowid
    AND a.c_shp_inst = b.c_shp_inst
    AND a.f_tran_proc  = b.f_tran_proc
    AND b.f_ltr_received = 'D'
    AND f_rec_code IN ('G', 'W')
    AND b.f_rec_status = 'B'
    AND b.c_shp_inst = :b1
    )
    AND a.c_shp_inst = :b1
    AND a.f_ltr_received = 'D'             -----------------> part of composite index
    AND a.f_tran_proc  = 'N'              -----------------> part of composite index
    AND a.f_rec_code IN ('G', 'W')      --------------> part of composite index
    AND a.f_rec_status = 'B';              -----------------> part of composite index  
    

    This UPDATE takes a long time to run and sometimes get hung up.

    We have a composite index on four columns f_ltr_received, f_rec_code, f_rec_status and f_tran_proc. Explain the plan shows that this composite index is used.

    Any way to rewrite this query or suggestion?

    Setting updates with subqueries may be difficult: (.) Unfortunately my suggestions below are of the try-it-and-see-what-happens variety - nothing of certain

    First of all, check the index. Is it bitmap or tree? If the tree to see if the more restrictive columns are listed first - this can help with effectiveness of b-tree indexes. Also if the tree a composite bitmap for columns with lots of repeat values instead could help

    Its a correlated subquery so that you cannot run just the subquery first put the result in a scalar varaiable and using the variable in the SQL instead. You can try putting the keys w/join subuqery results in a TWG first to use TWG in SQL to see if I/O is reduced together during these two operations.

    You have the license for the parallel query option? Using parallel DML (this must be activated manually) can help. Check the documentation of the ALTER SESSION command to do so. In addition, the PARALLEL_INDEX() indicator could help

    Display the SQL execution plan

  • Lack of updating of the secondary table.

    JDeveloper 11.1.1.20.

    In a master page in detail (two ADF unalterable tables) where the detail listen to changes in the master with its partialtrigger set to the main table, I discovered a problem when I go back to the page of a RESTORE operation in another page (change).
    In doing so, sends me to the first line of the main table, which is normal.

    -The detail section says "No data to display", which is not correct.
    If I leave the first row and return to the detail section is updated.

    Any success?

    Best regards
    Erik

    What is the RefreshCondition that you have defined for the iterator?
    You can change it to ifNeeded or always and check if it helps?

    Thank you
    Nini

  • Several updates on the same Table

    Hello

    I need to update the same Table (T1) but to filter for different conditions as below.
    and I have a set of filter conditions 50 and update the same table.

    Is it possible to get in the single update statement?

    BEGIN
    UPDATE T1
    SET PTA_CLM_CNT = v_PTA_CLM_CNT__77,
    PTB_CLM_CNT = v_PTB_CLM_CNT__77
    WHERE run_dt = v_in_parm_dt
    AND state_code = '77';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    WHILE OTHERS THEN
    v_error_cd: = SQLCODE;
    v_error_msg: = SUBSTR (SQLERRM, 1, 200);
    v_curr_record: = 'sum_bene_state_updt_77 ' | v_in_parm_dt;
    create_error_log ('_sum_cnts', v_error_cd, v_error_msg, v_curr_record);
    END;

    BEGIN
    UPDATE T1
    SET PTA_CLM_CNT_ = v_PTA_CLM_CNT__78,
    PTB_CLM_CNT_ = v_PTB_CLM_CNT__78
    WHERE run_dt = v_in_parm_dt
    AND state_code = '78';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    WHILE OTHERS THEN
    v_error_cd: = SQLCODE;
    v_error_msg: = SUBSTR (SQLERRM, 1, 200);
    v_curr_record: = 'sum_bene_state_updt_78 ' | v_in_parm_dt;
    create_error_log ('sum_cnts', v_error_cd, v_error_msg, v_curr_record);
    END;

    Thanks in advance

    May be trying to use DECODE

    UPDATE T1
       SET PTA_CLM_CNT = DECODE(state_code,77,v_PTA_CLM_CNT_77,78,v_PTA_CLM_CNT_78)
           PTB_CLM_CNT = DECODE(state_code,77,v_PTB_CLM_CNT_77,78,v_PTB_CLM_CNT_78)
     WHERE run_dt = v_in_parm_dt;
    
  • error handling - when using 'base' no updates to the audit table

    Hello;
    We use the error handling via the shadow errors; the operating mode is set by default to the "game";
    errors are caught in the trap in the errors table, but the audit of execution messages show is no longer there was error;
    y at - missing something on the shelf upward?
    before implementation of the error, with the operation mode table ' set to the line according to fail based on ' errors were recorded in all_rt_audit_exec_messages;
    now with the switch, the errors are caught in the trap, but we warned is no longer that it was a mistake;
    ID appreciate advise on how to fix that
    THX
    Rgds

    Hello

    Mode set-based, Oracle Warehouse Builder generates a single SQL statement that treats all data and performs all operations. Although the treatment of the data as a whole improves performance, audit information available are limited. Runtime auditing is only limited to the account of the run-time error. With mode based on the game, you can not identify lines that contain errors.

    Cap 10. Understand the Performance and Advanced ETL of Oracle® Warehouse Builder of modeling, ETL and data quality Guide data
    11g Release 2 (11.2)

    See you soon

  • You need to update a Table on a regular basis. Incremental update on only records updated in the Source table

    Dear all,

    I have a requirement to extract the full details of human resources and payroll related applications Oracle HRMS tables.

    You will need to create a table with these values for a specific nationality.

    Post Table design, I have to periodically update this table, in that based on changes made to the Tables of basic Oracle.

    Ex: A Table like Structure:

    PERSON_IDNUMBER
    EMPLOYEE_TYPEVARCHAR2(80)
    BUSINESS_GROUP_IDNUMBER
    BUSINESS_GROUP_NAMEVARCHAR2 (240)
    STAFFNRVARCHAR2 (30)
    STAFF_NAME_ENVARCHAR2 (240)
    STAFF_NAME_ARVARCHAR2 (240)
    SHORT_NAMEVARCHAR2 (150)
    FIRST NAMEVARCHAR2 (150)
    LAST_NAMEVARCHAR2 (150)
    MIDDLE_INITIALSVARCHAR2(60)
    ASSIGNMENT_IDNUMBER
    TITLEVARCHAR2 (30)
    CATEGORYVARCHAR2 (30)
    MARITAL_STATUSVARCHAR2 (30)
    Date of birthDATE
    DOJ_COMPANYDATE

    This detail table is extracted from Oracle HRMS tabels like Per_all_people_F and Per_all_assignments_F etc. Not whenever a record is updated to say the employee's first name, I'll have to update this particular record for the employee. I am well aware of Materialized view feature. But I needed a faster solution, in PLSQL.

    I'm on a tight schedule. So any help is appreciated.

    Best regards
    Antony Jayaraj J

    Looks like you want to Merge.  There's even an associate HR example!

  • Update of the ADF table

    Hi all

    < < Jdeveloper Studio Edition Version 11.1.2.3.0 > >

    I have a table with EditingMode ADF as "click to edit", so the user can change only one line at a time.

    My requirement is as below

    1. the table must be refreshed every 5 minutes

    2. If the user is in the middle of editing a particular line and the table is updated, the values entered by the user may not be reset.

    Is it possible to do so.

    Thanks in advance

    Best regards

    bnkr

    DCIteratorBinding iter = bindings.findIteratorBinding ("Iterator");
    RowSetIterator rs = iter.getRowSetIterator ();
    While (rs.hasNext ()) {}
    Line r = rs.next ();
    r.Refresh (r.REFRESH_WITH_DB_ONLY_IF_UNCHANGED);
    }

    You need to reset your RowSetIterator because this loop will run only for the first event of af: pool.

    In addition, it is unwise to iterate by default RowSetIterator, because the user interface components are related to this iterator (you can iterate, but then you need to add the logic of the line being restored...)

    Instead, try something like this:

    RowSetIterator rs = iter.getViewObject () .createRowSetIterator (null);

    While (rs.hasNext ()) {}

    Line r = rs.next ();

    r.Refresh (r.REFRESH_WITH_DB_ONLY_IF_UNCHANGED);

    }

    rs.closeRowSetIterator ();

    Dario

  • Update for the tree table problem

    Hello
    I use jdev tudio Edition Version 11.1.1.4.0
    I used the table tree to display my hirarchical data. I'm Bulding object for the purpose of list of floor.
    I created pojo data control. I am trying to drag and drop the level 1 of bulding1 on the bulding2 so it will be added to the bulding2. for that I packed a pojo addfloor() method and I add object floor in to list of floor of the bulding2 object. but the picture of the tree will not show the list update for bulding2.

    My question is how update the table of the tree so that it displays the data added to pojo on UI?

    I created the data from pojo under control
    package model;

    import java.util.ArrayList;
    import java.util.List;
    public class {Enterprise
    private list < Bulding > lstbuldingFor = new ArrayList < Bulding > ();
    Public Enterprise() {}
    Super();
    Bulding objbulding = new Bulding();
    objbulding.setBuldingName ("Bulding1");
    List < floor > lstfloor = new ArrayList < floor > ();
    Floor objfloor is new Floor();.
    objfloor.setFloorname ("Floor1");
    lstfloor. Add (objfloor);
    Floor objfloor2 is new Floor();.
    objfloor2.setFloorname ("Floor2");
    lstfloor. Add (objfloor2);
    objbulding.setLstfloor (lstfloor);
    lstbuldingFor.add (objbulding);
    Bulding objbulding2 = new Bulding();
    objbulding2.setBuldingName ("Bulding2");
    List < floor > lstfloor2 = new ArrayList < floor > ();
    Floor objfloor3 is new Floor();.
    objfloor3.setFloorname ("Floor3");
    lstfloor2. Add (objfloor3);
    Floor objfloor4 is new Floor();.
    objfloor4.setFloorname ("Floor4");
    lstfloor2. Add (objfloor4);
    objbulding2.setLstfloor (lstfloor2);
    lstbuldingFor.add (objbulding2);
    }

    {public adddFloor Sub (floor objfloor, String buldingName)

    System.out.println ("buldingName" + buldingName);
    System.out.println ("floor" + objfloor.getFloorname ());
    for (Bulding objBld:lstbuldingFor) {}

    {if (objBld.getBuldingName (.equalsIgnoreCase (buldingName)))}
    List < floor > objtempflr = new ArrayList < floor > ();
    System.out.println ("had correspondence");
    objtempflr = objBld.getLstfloor ();
    objtempflr. Add (objfloor);
    objBld.setLstfloor (objtempflr);
    break;
    }
    }

    getLstbuldingFor();
    }
    {} public void setLstbuldingFor (list < Bulding > lstbuldingFor)
    this.lstbuldingFor = lstbuldingFor;
    }

    public list < Bulding > getLstbuldingFor() {}
    for (Bulding objbld:lstbuldingFor) {}
    System.out.println ("@" + objbld.getBuldingName ());
    for (floor objflr:objbld.getLstfloor()) {}
    System.out.println ("@" + objflr.getFloorname ());
    }
    }
    Return lstbuldingFor;
    }
    }


    I'll call adddFloor() of the user interface to add the word to the bulding.

    Hello

    Make sure that you re - run the iterator that fills the tree. You make a change in the control of data, which is not immediately reflected in the link layer

    Frank

  • Update of the partition table and update rank with php.

    Hello

    I have a partition table on my site which is

    Scores: id - userid - ranking - points-

    Get points for doing things while using the site users. Points are updated, but I don't know how

    to update this user's position by comparing everyone elses points and rank numbers update

    based on the users with most points in php.

    Hope you can help. Thank you

    Weird, the link I provided is not what I wanted; It seems very different and is difficult to read. Anyway, you don't mention what goes wrong with the code you provided. I also don't think that you want to prepend rank alias with the table name 'notes' because it is not a table column. I do not use MySQL, but I think you want to use ' @' for your SQL local variables, so something like:

    $sqlgo = mysql_query ("SET @rank = 0; SELECT @rank: = @ row + 1 rank Users.id, Users.username, Users.profilepic, Scores.scoreid, Scores.userid, Scores.level, Scores.points, rank, Scores.badges OF Scores INNER JOIN users ON Scores.userid = Users.id ORDER BY invoking DESC LIMIT 30 ");

  • Update for the advanced table query.

    Hello

    I am a newbie at OAF so need help with a simple task.

    I have an advanced table that was created using the query in the expert mode of the VO. (because it contains data from more than one table).

    Now, I want to update the data of any line which is amended in the table,

    I followed the example in table advanced in the tutorial and reached until the update method of the AM. Now, I'm not able to update the table. When I searched the forum said that I have a simple EO on the table to be updated, but I want to update multiple tables (foreign key relationship), if can do using the same VO? I have both the VO (based on one select query custom Expert mode and other normal VO EO-based).

    Can someone give me it please update the table in the query?

    Thank you
    VK

    Hi Vishal,

    It is good to know that your problem is almost solved.

    Yes, you will need to create separate poplist VO and one more thing, if you use poplist, you do not use custom query (expert mode).

    Kind regards
    Out Sharma

  • Execution of statement of UPDATE for the whole table even when the WHERE Clause is presentation

    Hi friends,

    I have a problem in a stored procedure where I wrote an update with a where clause clause statement. At some point only one line should be updated according to the unique identifier in where clause.

    But what is happening is that the Update statement is getting executed for all rows in the table to neglect the WHERE clause. I don't get any idea of why this is happening. Here is the stored procedure and the update statement is BOLD:-

    CREATE OR REPLACE PROCEDURE MDMADM.proc_MDM_InsertCntryDetails
    (
    CntryMasterCode IN VARCHAR2,
    CntryName IN VARCHAR2,
    MDMUser IN VARCHAR2,
    Exists IN ITS ENTIRETY,
    status in VARCHAR2,
    Inserted_By IN VARCHAR2 default NULL,
    Modified_By IN VARCHAR2 default NULL,
    Mdm_Code IN the DEFAULT NUMBER 0.
    Action in VARCHAR2 DEFAULT 'Add ',.
    XGenAttNames IN VARCHAR2 default NULL,
    XGenAttValues IN VARCHAR2 default NULL,
    MirusAttNames IN VARCHAR2 default NULL,
    MirusAttValues IN VARCHAR2 default NULL,
    GenisysAttNames IN VARCHAR2 default NULL,
    GenisysAttValues IN VARCHAR2 default NULL,
    XGenModify IN VARCHAR2 default NULL,
    MirusModify IN VARCHAR2 default NULL,
    GenisysModify IN VARCHAR2 default NULL
    )

    IS

    strSQLXGen VARCHAR (1000);
    strSQLMirus VARCHAR (1000);
    strSQLGenisys VARCHAR (1000);
    nMaxMDMCode INTEGER.
    ifExist INTEGER;

    /******************************************************************************
    NAME: proc_MDM_InsertCntryDetails
    PURPOSE:

    REVISIONS:
    Worm Date Description of the author
    --------- ---------- --------------- ------------------------------------
    1.0 03/07/2009 1. Created this procedure.

    NOTES:

    Keywords to replace automatically available Auto:
    Object name: proc_MDM_InsertCntryDetails
    SYSDATE: 03/07/2009
    Date and time: 03/07/2009, 19:11:20 and 03/07/2009-19:11:20
    User name: (put in TOAD Options, editor of the procedure)
    Name of the table: (defined in the dialog box "New PL/SQL object")

    ******************************************************************************/
    BEGIN

    COUNT (*) of SELECT INTO ifExist OF MDM_COUNTRY_MASTER;

    IfExist IF = 0 THEN
    SELECT 1 INTO nMaxMDMCode FROM DUAL;
    ON THE OTHER
    SELECT MAX (MDM_CODE) + 1 IN MDM_COUNTRY_MASTER nMaxMDMCode;
    END IF;


    IF Action = "add" THEN

    INSERT INTO MDM_COUNTRY_MASTER(MDM_CODE,MDM_MASTER_CODE,MDM_DESCRIPTION,MDM_USER,MDM_EXIST,MDM_STATUS,MDM_ACTION,DAT_INSERT_DATE,DAT_INSERTED_BY)
    VALUES(nMaxMDMCode,CntryMasterCode,CntryName,MDMUser,exist,Status,action,sysdate,Inserted_By);

    strSQLXGen: = ' INSERT IN MDM_COUNTRY_MAPPING (MDM_CODE, SYSTEM_NAME, SYSTEM_CODE,' |) XGenAttNames | DAT_INSERTED_BY, DAT_INSERT_DATE) ' |
    "VALUES (' |)" nMaxMDMCode | ',' || '''' || "XGen | '''' || ',1,' || XGenAttValues | ',' || '''' || Inserted_By | '''' || SYSDATE)';

    EXECUTE IMMEDIATE strSQLXGen;

    strSQLMirus: = ' INSERT IN MDM_COUNTRY_MAPPING (MDM_CODE, SYSTEM_NAME, SYSTEM_CODE,' |) MirusAttNames | DAT_INSERTED_BY, DAT_INSERT_DATE) ' |
    "VALUES (' |)" nMaxMDMCode | ',' || '''' || "Mirus | '''' || ',2,' || MirusAttValues | ',' || '''' || Inserted_By | '''' || SYSDATE)';

    EXECUTE IMMEDIATE strSQLMirus;

    strSQLGenisys: = ' INSERT IN MDM_COUNTRY_MAPPING (MDM_CODE, SYSTEM_NAME, SYSTEM_CODE,' |) GenisysAttNames | DAT_INSERTED_BY, DAT_INSERT_DATE) ' |
    "VALUES (' |)" nMaxMDMCode | ',' || '''' || "Genisys | '''' || ',3,' || GenisysAttValues | ',' || '''' || Inserted_By | '''' || SYSDATE)';

    EXECUTE IMMEDIATE strSQLGenisys;

    ON THE OTHER



    UPDATE MDM_COUNTRY_MASTER
    SET MDM_DESCRIPTION = CntryName, DAT_MODIFIED_BY = Modified_By, DAT_MODIFY_DATE = SYSDATE.
    MDM_USER = MDMUser, MDM_ACTION = Action, MDM_STATUS = status MDM_EXIST = exist WHERE MDM_CODE = Mdm_Code;




    COUNT (*) of SELECT INTO ifExist FROM MDM_COUNTRY_MAPPING WHERE SYSTEM_CODE = 1 AND MDM_CODE = Mdm_Code;

    IfExist IF = 0 THEN

    strSQLXGen: = ' INSERT IN MDM_COUNTRY_MAPPING (MDM_CODE, SYSTEM_NAME, SYSTEM_CODE,' |) XGenAttNames | DAT_INSERTED_BY, DAT_INSERT_DATE) ' |
    ' VALUES(' ||) Mdm_Code | ',' || '''' || "XGen | '''' || ',1,' || XGenAttValues | ',' || '''' || Modified_By | '''' || SYSDATE)';

    EXECUTE IMMEDIATE strSQLXGen;

    ON THE OTHER
    strSQLXGen: = "UPDATE MDM_COUNTRY_MAPPING SET | XGenModify | ', DAT_MODIFY_DATE = SYSDATE, DAT_MODIFIED_BY =' | '''' || Modified_By | '''' || "WHERE MDM_CODE =' | ' Mdm_Code | "and SYSTEM_CODE = 1';

    EXECUTE IMMEDIATE strSQLXGen;

    END IF;


    COUNT (*) of SELECT INTO ifExist FROM MDM_COUNTRY_MAPPING WHERE SYSTEM_CODE = 2 AND MDM_CODE = Mdm_Code;

    IfExist IF = 0 THEN

    strSQLMirus: = ' INSERT IN MDM_COUNTRY_MAPPING (MDM_CODE, SYSTEM_NAME, SYSTEM_CODE,' |) MirusAttNames | DAT_INSERTED_BY, DAT_INSERT_DATE) ' |
    ' VALUES(' ||) Mdm_Code | ',' || '''' || "Mirus | '''' || ',2,' || MirusAttValues | ',' || '''' || Modified_By | '''' || SYSDATE)';

    EXECUTE IMMEDIATE strSQLMirus;

    ON THE OTHER
    strSQLMirus: = "UPDATE MDM_COUNTRY_MAPPING SET | MirusModify | ', DAT_MODIFY_DATE = SYSDATE, DAT_MODIFIED_BY =' | '''' || Modified_By | '''' || "WHERE MDM_CODE =' | ' Mdm_Code | "and SYSTEM_CODE = 2';

    EXECUTE IMMEDIATE strSQLMirus;

    END IF;


    COUNT (*) of SELECT INTO ifExist FROM MDM_COUNTRY_MAPPING WHERE SYSTEM_CODE = 3 AND MDM_CODE = Mdm_Code;

    IfExist IF = 0 THEN

    strSQLGenisys: = ' INSERT IN MDM_COUNTRY_MAPPING (MDM_CODE, SYSTEM_NAME, SYSTEM_CODE,' |) GenisysAttNames | DAT_INSERTED_BY, DAT_INSERT_DATE) ' |
    ' VALUES(' ||) Mdm_Code | ',' || '''' || "Genisys | '''' || ',3,' || GenisysAttValues | ',' || '''' || Modified_By | '''' || SYSDATE)';

    EXECUTE IMMEDIATE strSQLGenisys;

    ON THE OTHER
    strSQLGenisys: = "UPDATE MDM_COUNTRY_MAPPING SET | GenisysModify | ', DAT_MODIFY_DATE = SYSDATE, DAT_MODIFIED_BY =' | '''' || Modified_By | '''' || "WHERE MDM_CODE =' | ' Mdm_Code | "and SYSTEM_CODE = 3';

    EXECUTE IMMEDIATE strSQLGenisys;

    END IF;



    END IF;



    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHILE OTHERS THEN
    -Consider recording the error and then re-raise
    LIFT;
    END proc_MDM_InsertCntryDetails;
    /


    Thank you

    >
    WHERE mdm_code = mdm_code
    >

    This will always be value true - similar to WHERE 1 = 1.

    You typed it wrong or is the same as the variable column name? If they are the same test rename one of them.

  • update of the weird table

    I work with the essential dvd rental Sten E. Vesterli ADF Application. When I click on the sideline of registerretal will be saved in the table of rental... in the right part of the page, we can look for customers.

    sometimes if I click on registry location after the search of a customer, rental table is refreshing, that this behavior is unpredictable and flaky. one you suggest why this happens

    Untitled.png

    {} public void regesterRental (ActionEvent event)
    BindingContainer bc =
    BindingContext.getCurrent () .getCurrentBindingsEntry ();
    Dcb = (DCBindingContainer) DCBindingContainer, BC.
    DCIteratorBinding = rentalIter
    dcb.findIteratorBinding ("RenatlVOIterator");
    Attrib NameValuePairs = new NameValuePairs();
    attrib.setAttribute ("CustomerId", customerId.getValue ());
    attrib.setAttribute ("InventoryId", inventoryId.getValue ());
    TODO: Search for user later when adding security
    attrib.setAttribute ("StaffId", 1);
    attrib.setAttribute ("RentalDate",
    new Timestamp (System.currentTimeMillis ()));
    attrib.setAttribute ("LastUpdate",
    new Timestamp (System.currentTimeMillis ()));
    ViewObject rentalVO = rentalIter.getViewObject ();
    rentalVO.createAndInitRow (attrib);
    OperationBinding ob = bc.getOperationBinding ("Commit");
    OB. Execute();
    }

    It is an unusual way to create the new line:

    -you go to the page and then again just to add the new line (instead, you should do so on the same page by calling CreateInsert programmatically and commit your button and also you need to check for errors after each of these operations)

    -at the end, you still have a blank line in your OE (so maybe it creates problems with the search, for example, maybe that it triggers a validation error that you do not see)

    Dario

  • Error running columns must be updated in the error table

    Hi all

    I deliver, in my process when execution time if I got an error, that it would be updaed in my error log table, is there any special function is there for that?

    Hello

    For any error that occurs in your trapping interface use the package step.

    Go to step 1 to step 2 by KO trail

    in step 2, you can use a variable with a refresh of query ' select SUBSTR)< %="odiRef.getPrevStepLog" ("message")="" %="" >,="" 1,="" 4000)="" du="" double="" '="" faire="" passer="" votre="" message="" d’erreur...="" de="" cette="" façon,="" vous="" pouvez="" gérer="" vos="">
    Also, as mentioned in a previous post, you can easily change your variable as refresh query

    *'select SUBSTR (< %="odiRef.getPrevStepLog" ("message")="" %="" >,="" 1,="" 3000)="" || »=""><->' |)< %="odiRef.getPrevStepLog" (« step_name »)="" %="" >="" du="" double="" '="" *="" d’inscrire="" le="" nom="" de="" l’étape="" afin="" que="" vous="" sachiez="" où="" cette="" erreur="" s’est="">
    Now, you can use this variable to insert this value into a table of error log using a procedure of ODI step (do the next step).

    Solve your problem?

    Published by: 922636 on 13 Sep 2012 06:58

  • Update of the data block on the table

    Hello

    I have a table that already exists with the data. I got another set of spreadsheet data to update the date on the table. The table name is EMPLOYEE.

    The table structure is like this

    > > EMP_ID, FIRST_NAME, LAST_NAME, ADDRESS, PHONE_NUMBER

    Most of the files is not in the data table ADDRESS or PHONE_NUMBER, worksheet contains the updated information that needs to be updated on the EMPLOYEE table.

    Please suggest me a method to update the data.

    I intend to create a temporary table upload the data in the table. and then update the data using tables. Is this right approach please suggest

    Thank you
    Sudhir

    This means that your UNIQUE_ID is truly UNIQUE...

Maybe you are looking for