Changing column value

Hi friends,

My source is the flat file
My goal is Oracle 11 g.

In the flat file I get like (RG036, RG040, RG020) of data FOR the month of April.
Next month which is (perhaps) the will of data coming like (RH036, RH040, RH020).
And for the month of June, the data will be (RI036, RI040, RI020).

So she changes alphabeticaly G, H, I, etc..

Need to know how to handle this in ODI.what are the steps to do this.

Thank you
Lony

Hi Lony,
How are you?

You should not disturb on column names as ODI always reads these columns like C1, C2, C3... So even if your column name is changed, it works in your interface.
You must use a 'case' or 'instr' to find HR or LAUGHED. Then use the month for him.
Thank you.

Tags: Business Intelligence

Similar Questions

  • Change column values become the row values

    Hi, how to make the column values become row values as below, please advise and thanks.
    
    SELECT sc.configuration,
           sc.item_type,
           st.producttype,
           st.productfamily, 
           sc.multidrive,
           sp.internalproductname
           FROM  seaeng_productmodel sp , seaeng_stmodel st, seaeng_ccitemnumber sc 
           WHERE sc.productmodelnumber = sp.productmodelnumber 
           AND sp.stmodelnumber = st.stmodelnumber 
           and sc.ccitemnumber = '9NH2D4-575'
    
    Output
    
    CONFIGURATION  ITEM_TYPE   PRODUCTTYPE      PRODUCTFAMILY                  MULTIDRIVE        INTERNALPRODUCTNAME
    CUST UNIQUE       CC        DRIVE         FREEAGENT GO 5400.1 FAMILY        N                 SLIPSTREAM
    
    
    Expected to be converted as below,
    
    COLUMN NAME                        COLUMN  VALUE
    CONFIGURATION                      CUST UNIQUE
    ITEM_TYPE                          CC
    PRODUCTYPE                         DRIVE
    PRODUCTFAMILY                      FREEAGENT GO 5400.1 FAMILY
    MULTIDRIVE                         N
    INTERNALPRODUCTNAME                SLIPSTREAM

    You mean like this?

    SQL> select * from emp where empno = 7788;
    
         EMPNO ENAME      JOB              MGR HIREDATE                   SAL       COMM     DEPTNO
    ---------- ---------- --------- ---------- ------------------- ---------- ---------- ----------
          7788 SCOTT      ANALYST         7566 19/04/1987 00:00:00       3000                    20
    
    SQL> ed
    Wrote file afiedt.buf
    
      1  select decode(rn,1,'EmpNo',2,'EName',3,'Job',4,'Mgr',5,'HireDate',6,'Sal',7,'Comm','DeptNo') as column_name
      2        ,decode(rn,1,to_char(EmpNo),2,EName,3,Job,4,to_char(Mgr),5,to_char(HireDate,'DD/MM/YYYY'),6,to_char(Sal),7,to_char(Comm),to_char(DeptNo)) as column_value
      3  from emp, (select rownum rn from dual connect by rownum <= 8)
      4* where empno = 7788
    SQL> /
    
    COLUMN_N COLUMN_VALUE
    -------- ----------------------------------------
    EmpNo    7788
    EName    SCOTT
    Job      ANALYST
    Mgr      7566
    HireDate 19/04/1987
    Sal      3000
    Comm
    DeptNo   20
    
    8 rows selected.
    
    SQL>
    
  • Change a column value in the reports

    Hi all

    I have a column that contains values such as 12345678, 78945612, etc... Now, I wanted to change the values like 123-45678, 789-45612 etc...

    Baiscally this field is an 8-digit integer, and I would like to insert the dashboard after three digits. Is it possible to do in OBIEE. If so how this requirement can be achieved.

    Thank you

    Hello

    Please check the screenshot with the insert function and conform the same results you expect

    Kind regards

    Drupada

  • Interactive report - out has changed the value of the column selectlist

    Hello

    I try to use a selectlist in an interactive report. I used "APEX_ITEM. SELECT_LIST' for this. My interactive report request is

    SELECT APEX_ITEM.checkbox (1, CUSTOMER_ID, NULL, NULL, 'onclick = "javascript:setvalue (this.value)" ') as "-",

    CUST_FIRST_NAME,

    CUST_LAST_NAME,

    APEX_ITEM. SELECT_LIST)

    p_idx = > 2,

    p_value = > TEST.

    p_list_values = > ' Y; Y, N; NO

    ) 'test' for DEMO_CUSTOMERS

    I had a "Override" button on the page. I try to get the modified values (for the field "test") and the customer ID selected as a semicolon-separated list just by clicking on the ignore"" button. The process code on submit is

    : P8_TEST_VALUE: = NULL;

    BECAUSE me in 1... APEX_APPLICATION. G_F01. COUNTING LOOP

    : P8_TEST_VALUE: =: P8_TEST_VALUE | « ; » || APEX_APPLICATION. G_F01 (i) | APEX_APPLICATION. G_F02 (i);

    END LOOP;

    But I still get the data value, not the value for column 'test '.

    For example if I'm changing the value of "N" to 'Y' after selecting the checkbox (client code corresponds to "6") and click on 'Ignore' button. I get the value '; 6n 'instead of '; 6Y'. is it possible that I can get the value of seelectlist has changed?.

    Thank you

    JJ

    Your problem is in the values of the selection list. The element is not sent to use in PL/SQL, best way to do it is with jQuery

    try adding this to your report:

    SELECT APEX_ITEM.checkbox (1, CUSTOMER_ID, NULL, NULL, 'onclick = "javascript:setvalue (this.value)" ') as "-",

    CUST_FIRST_NAME,

    CUST_LAST_NAME,

    APEX_ITEM. SELECT_LIST)

    p_idx-online 2

    p_item_id => CUSTOMER_ID,

    p_value => TEST,

    p_list_values => ' Y; Y, N; NO

    ) 'test' for DEMO_CUSTOMERS

    and to add actions to the lick... button or other trigger.

    $x("P8_TEST_VALUE").value ="";

    $("input: checkbox[name='f01']:checked").each(function())

    {var val = $("select [id ='" + $(this) .val () + "']") .val ();}

    $x("P8_TEST_VALUE").value = $x ("P8_TEST_VALUE") .value + $(this) .val () + val + ";". " » ;

    });

    Hope that this post will be useful for you.
    Andrej Grlica

  • Change quick values to 'ALL' of 'all values in the column.


    Hello

    I want to change the 'all values in the column' value for 'all' in the quick view of dashboard.

    I went to the location following: < MW_HOME > / Oracle_BI1/bifoundation/web/msgdb/l_en/messages /.

    But I am unable to determine which xml file to be changed.

    Help, please.

    Just in case where to check Srinivasan Software Solutions Pvt.Ltd.: [OBIEE 11 g] customization invites "All THE values in column" Custom value

  • How to change the value of the column on slot form of modification of the event

    As a table, to change a column value depend on another column.  How to do this?

    Hi Devi,

    You can use dynamic actions. For example, please take a look at this

    https://forums.Oracle.com/thread/2392620

    I hope this helps.

    Concerning

    Mahmoud

  • How to dynamically change the value of a column in a report

    Hi, I'm new to APEX and I have a small requirement. I have a report in a page which I query. Report will always have only one record. I need to change a value of a column in this report of the value received from another page. I was able to send the value of another page on my page of reports to a hidden page element, but I don't know how I can configure this value received to this column in the report. Is this possible? If Yes, can anyone help with this?

    970829 wrote:

    Please update your forum profile with a real handle instead of '970829 '.

    Hi, I'm new to APEX and I have a small requirement. I have a report in a page which I query. Report will always have only one record. I need to change a value of a column in this report of the value received from another page. I was able to send the value of another page on my page of reports to a hidden page element, but I don't know how I can configure this value received to this column in the report. Is this possible? If Yes, can anyone help with this?

    Not really clear exactly what it is you are trying to reach. You want to replace the value of a column in the report with the value of a page element? If so, simply replace the column in the report with a reference to the required page elementquery:

    select
       empno
    , ename
    , job
    , :p2_sal sal -- Replace value of sal column with value of P2_SAL item
    from
       emp
    
  • Update the column values with the new user who has changed the data in the current line

    I have a table, the following structure.

    CREATE TABLE FILTERCALENDAR1
    (DATE OF THE "C_DATE',
    NUMBER (1,0) 'DAY_OF_WEEK ',.
    NUMBER (1.0) "WEEK_WINDOW."
    NUMBER (1.0) "MONTH_WINDOW."
    NUMBER (1.0) "YEAR_WINDOW."
    NUMBER (1.0) "DATE_YEAR_WINDOW."
    NUMBER (1.0) "ONCE_WINDOW."
    VARCHAR2 (25 BYTE) "USERNAME."
    "LASTUPDATED" DATE
    );

    Problem:
    If a user changes the value of one of the columns I want to write his name to user and sysdate in the 'USERNAME' and LASTUPDATED' columns.

    * Tried: *.
    I tried an update trigger for this problem, but I get an error table mutation.

    The one you suggest how can I achieve this.

    Concerning

    Use BEFORE the UPDATE trigger

    CREATE OR REPLACE TRIGGER myTrigger
    before UPDATE ON FILTERCALENDAR1 FOR EACH ROW
    BEGIN
    :new.USERNAME := user;
    :new.LASTUPDATED := sysdate;
    END;
    
  • Edit/view (data or Table column) value - cannot change the data, but it can be updated

    Hello

    According to the help of Oracle SQL Developer Center, the dialog ' Change/see value (data or Table column)' should "change the value of data" if we "are allowed to change the data." We strive to use this dialog box to modify/update data without having to write an Update statement, but is not to leave us. Us are not allowed to update the data, we can update via update statements. Even as the owner of the schema.table, it don't will change us the value in the dialog box "Edit/see value (data or Table column).

    Any ideas?

    We are on SQL Developer Version 3.0.0.4 build HAND - 04.34 and Oracle 11 GR 1 material (11.1.0.7) database.

    Thank you

    Alex Larzabal.

    You can still vote on the existing demand for this developer SQL to add Exchange of weight for implementation as soon as possible:
    https://Apex.Oracle.com/pls/Apex/f?p=43135:7:3974986722753169:no:RP, 7:P7_ID:4902

    Kind regards
    K.

  • changing the value of text within a column of a PivotTable

    Hi people,

    I get great help from this forum and I am very frequently. This time, I have a question about Tables, how to manipulate fields in a table using JavaScript. The requirement is as follows, I have a Table (100rows x 3columns), and few of them are hidden in the page layout. The first column contains the values of text such as sequential numbers, (the first column is visual index, 1, 2, 3... 100). now, I'm trying to write a script that replaces or substitutes the first column values in the text areas of space. Can you guys help out me if you do a script? or give me some resources where I can manipulate the fields from the table using JavaScript?

    Thanks in advance.

    Hello

    It seems that the table is static and will always three rows during execution. In other words, the user cannot add more lines. If this correct?

    You need not resolve the nodes in this case, because you are referencing fields and specific lines.

    Because the script is located in the square, which is in the same container as the table, the following would erase the contents of the fields in the second column:

    Table1.Row1[1].TextField3.rawValue = null;
    

    Your script accesses an object in the second row called Cell1. This seems to be a text object has no property .rawValue If you want to change the value at run time, you will need to change this to a TextField object.

    In addition, looks like that is not an object in the second row (Row1 [1]) called "Cell1". It seems that the first object is unnamed. This will also cause the script to fail. When debugging, it is useful to use the JavaScript Console to see the (control + J) errors when previewing the form or in Acrobat.

    Who help me?

    Niall

  • How to change the lines of 68000 column value upto

    Hello

    I want to change the value of the column.

    I have a table called RefDoc

    Select distinct refdoc r.int_ref r where are.int_ref like '\\dxb% '.

    Int_Re__f


    \\dxb\Sample\BFE B777\2008\PO2025225. TIF
    \\dxb\Sample\RO\SFR\26-01-2009j\RO2022098.PDF
    \\dxb\Sample\RO\SFR\26-01-2009j\RO2040831.PDF
    \\dxb\Sample\BFE B777\2008\PO2025253. TIF
    \\dxb\Sample\RO\UM INV\26-01-2009\RO2018358.pdf
    ...................
    ...................

    until 68000 rows



    I want to change to \\AUH instead of \\dxb.

    I want the table as

    Int_Re__f


    \\AUH\Sample\BFE B777\2008\PO2025225. TIF
    \\AUH\Sample\RO\SFR\26-01-2009j\RO2022098.PDF
    \\AUH\Sample\RO\SFR\26-01-2009j\RO2040831.PDF
    \\AUH\Sample\BFE B777\2008\PO2025253. TIF
    \\AUH\Sample\RO\UM INV\26-01-2009\RO2018358.pdf
    ...............
    ...............
    .............




    Thank you
    Nihar

    REPLACE the user function and change

    UPDATE refdoc
       SET int_ref = REPLACE(int_ref, '\\dxb\', '\\AUH\')
     WHERE int_ref like '\\dxb\%'
    
  • How to design a trigger to update only if a column value is changed?

    Hello

    I have a nice little trigger that updates the CARD table when the table is updated. This table is updated within a master/detail form. It's the main table.
    Relaxation is used mainly to update the columns 'FICHE_MODIFIEE_PAR' (in English, it means "modified by") and "DATE_MODIFICATION" (in English, it means 'date modified'). I wish that these columns updates ONLY when the values in the columns 'TOTAL_HEURES' and 'TOTAL_HEURES_EXCEPTIONNELLES' are changed. These two columns have a default value for the number 0. That means that these columns change means change it value from the value 0 by default with another value or a value to another value. If the value of one or two of these two columns changes, the trigger must be fired for updating the column 'FICHE_MODIFIEE_PAR' and 'DATE_MODIFICATION '.
    create or replace TRIGGER  OBSERVATOIRE.TIB_FICHE
      before insert or update on OBSERVATOIRE.FICHE
      for each row
    begin
        if inserting and :new.fiche_id is null then
            select FICHE_SEQ.NEXTVAL INTO :new.FICHE_ID from dual;
        end if;
        if inserting then
            :new.fiche_cree_par := v('USER');
            :new.date_creation := sysdate;
        end if;
        if updating then
            :new.fiche_modifiee_par := v('USER');
            :new.date_modification := sysdate;
        end if;
    end; 
    Thank you for your help.

    Christian

    Hello Christian,.

    You can reference and compare the old and new values. For example
    IF: NEW. TOTAL_HEURES <> : OLD. TOTAL_HEURES OR: NEW. TOTAL_HEURES_EXCEPTIONNELLES <> : OLD. TOTAL_HEURES_EXCEPTIONNELLES
    THEN
    do your stuff
    END IF;

    Greetings,
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

  • ADF table change the value of a column rest after executeQuery

    Referring to the instance, which is to correct the cause and especially implemented to solve this problem-

    Re: Table ADF with iterator without cache not updated; bug or feature?

    I'll have a search form and the basis of the table of results based on entity vo. The table of results is in mode editall. If I change the value in the inputtext for a line and I click on search again, I expect the value modified to reset. The text component is not autosubmit.

    If I put resetactionlistener in the search button, it works, but it resets then some other components which I don't want.  This makes me think under analysis is tris -.

    'But chooses to render using the value sent instead of the value of the database '.

    What is the correct implementation to handle this?

    Stamped UI components (such as af:table) have resetStampState() method.

    Then you can try something like:

    table.resetStampState ();

    AdfFacesContext.getCurrentInstance () .addPartialTarget (table);

    Dario

  • Cannot change the value in the report url column in the select statement. Help, please

    Hi all
    I'm moving the value of the column of the report as follows:
    select key, num,
    case when Attachmentcnt(KEY) != 0 then
    'f?p=&APP_ID.:91:&SESSION.:'' '':NO::P91_KEY,P91NUM,P91_PREVPG:'
    And I'm passing the values as follows:

    {noformat}
    "#KEY #, ' NUM # #', 9' ELSE null.
    Fixing of END
    from tableA
    {noformat}

    But I'm not able to understand correct syntax for these column values. Can someone give me help. I appreciate it.
    Rgds,
    Suma.

    Published by: sumak on June 23, 2009 12:11

    Published by: sumak on June 23, 2009 12:22

    Suma,

    If you try to generate a column with a URL, try something like the following:

    Select the key, num,
    -case when Attachmentcnt (KEY). = 0 then
    ' f ? p = & APP_ID.: 91: & SESSION. : "": NO::P91_KEY, P91NUM, P91_PREVPG:'
    || tableA.key | ',' || tableA.num | ',' || : P91_PREVPG
    Another null
    end
    FROM tableA;

    But the best way to spend these would include values of checksum against the values of your parameters (to ensure that a user is not hack them). You will need to check the manual of the Apex for more details - see "Understanding Session State Protection".

    Good luck

    Stew

  • change in value of ListBox on right click with the duration menu

    Hi all

    With the help of LV 2012...

    I have a listbox multicolumn containing a single column of text values.  I'm trying to implement the following features:

    Right click on an item will cause a runtime menu to open... user select 'Settings' in the menu and a dialog box with the settings specific to the element appears.

    The menu of the runtime has been easy.  The problem is that the value of the listbox (line) does not change with a single right-click.  I currently have to left click to change the value and then right click for the menu.  Any way to change the value with a right-click?

    Thank you!

    Charlie

    Rather than change the value, you can do something like this - use the mouse to the bottom? event for the listbox control. Because it is an event of filter, it must run everything first (although you will need to place a frame earlier in the structure of the event). Use the coords for this event and call Point to the method of lines of columns on the listbox. This will give you the line, now you can keep in a shift register. Do not throw the event, and this will cause the menu event, where you can now use the value of the line in front.

Maybe you are looking for

  • Cannot export 2.7 k

    I edit clips in 2.7 k resolution (from GoPro), but when you export I can choose only 1080 p 60 fps... I'm sure that I exported even 4 k of iMovie before. I can't figure out how to get the k 2.7 return option in the selection of the export. Thanks in

  • Minimize, maximize, and close buttons do not work

    Win10 Pro 64 bit build 10525 Like others, this problem has been ignored despite me also report in comments.

  • How can I block junk e-mail?

    Im getting bombarded by spam from a single source.  Mail offers an unscubscibe button (although I have never subscribed in the first place).  However, if I click on unsubscribe I tells me I need to sign up first (Im not going to do that). Question -

  • Sorensen XEL power is compatible with labview

    What Sorensen XEL power compatible with labview? I'm in the automotive field of vehicle dashboard. I want to test and simulate different transient conditions that may generate noise in the pipe I needed of a programmable power supply. Currently I hav

  • Must the product key be changed when the power of a standard installation on several computers?

    I have a standard system install CD, which includes Windows + apps + registry settings on a number of standalone PCs.  I have product keys Windows for all PCs and licenses for all applications.   When I install the system on a new PC, it's the Window