How to handle columns THAT?

Hi gurus,

I do for the target load source. Have gone through the forums for a solution to my problem, I wasn't convinced on the answer found.

the problem I have is - " I have 4 columns - update_user, insert_date and insert_user, update_date." I have to complete everything by the loading. "

1. I traced the insert_date and the insert_user, sysdate and user interface directly, but with each repetition of the interface, ODI mark the line as update even if it is not an update. After the exam, I found that in the I$ _ table created during the race, it inserts sysdate and user in the fields and compares. Since the sysdate will not match, it will mark the line update. so, I tried loading them via a procedure and not directly.

2. when I try to load the columns through a procedure, all columns are updated. but I need to only load the date and user columns in rows that are inserted/updated. so, this isn't the right approach.

I will carry out a package to load I need to maintain a journal etl load table also.

* the solution, I found was to duplicate and edit the additional SQL IKM updated * to do this. But I feel somehow, there is an easy way to do this.

* Please help me with this. I really appreciate your times

* Thanks in advance

Can you please tell me what the IKM you use? Because if mapped to the target, then the ODI doesn't consider these columns in equation I $, then cannot be the reason for the Insert or Update.

About the Insert and update, when you click the column, find you real estate to insert / update. Select insert only for Insert and check the update only for the update.
Also it does not solve my problem of update_date and update_user. How the IKM fails to satisfy your request.

Tags: Business Intelligence

Similar Questions

  • How to identify columns that have the same data in a SQL query or function?

    Deal all,

    How to identify columns that have the same data in a SQL query or function? I have the sample data as below

    DEPT_IDEMP_IDCome on
    !CITYSTATECOUNTRY111 June 1983DELHIHUMAN RESOURCESIndia1218 January 1987DELHIHUMAN RESOURCESIndia1328 November 1985DELHIHUMAN RESOURCESIndia144 June 1985DELHIHUMAN RESOURCESIndia255 June 1983MUMBAIHDIndia266 June 1983MUMBAIHDIndia277 June 1983MUMBAIHDIndia288 Jun. 1983MUMBAIHDIndia399. June 1983GURGAONDLIndia31010 June 1983GURGAONDLIndia

    Now, I want to Indify columns that have the same data for the same Department ID.

    Is it possible in sql unique or do I have to write the function for this? Pls Help how to write?

    Thanks in advance.

    You can try this?

    WITH T1)

    DEPT_ID, EMP_ID, DATE OF BIRTH, CITY, STATE, COUNTRY

    ), ()

    SELECT 1, 1, TO_DATE('1.) June 1983', 'JJ. LUN. (YYYY'), 'DELHI', 'HR', 'INDIA' OF THE DUAL UNION ALL

    SELECT 1, 2, TO_DATE('18.) January 1987', 'JJ. LUN. (YYYY'), 'DELHI', 'HR', 'INDIA' OF THE DUAL UNION ALL

    SELECT 1, 3, TO_DATE('28.) November 1985', 'JJ. LUN. (YYYY'), 'DELHI', 'HR', 'INDIA' OF THE DUAL UNION ALL

    SELECT 1, 4, TO_DATE('4.) June 1985', 'JJ. LUN. (YYYY'), 'DELHI', 'HR', 'INDIA' OF THE DUAL UNION ALL

    SELECT 2.5, TO_DATE('5.) June 1983', 'JJ. LUN. (YYYY'), 'BOMBAY', 'HD', 'INDIA' OF THE DUAL UNION ALL

    SELECT 2.6, TO_DATE('6.) June 1983', 'JJ. LUN. (YYYY'), 'BOMBAY', 'HD', 'INDIA' OF THE DUAL UNION ALL

    SELECT 2.7, TO_DATE('7.) June 1983', 'JJ. LUN. (YYYY'), 'BOMBAY', 'HD', 'INDIA' OF THE DUAL UNION ALL

    SELECT 2.8, TO_DATE('8.) June 1983', 'JJ. LUN. (YYYY'), 'BOMBAY', 'HD', 'INDIA' OF THE DUAL UNION ALL

    SELECT 3, 9, TO_DATE('9.) June 1983', 'JJ. LUN. (YYYY'), 'GURGAON', 'DL', 'INDIA' OF THE DUAL UNION ALL

    SELECT 3.10, TO_DATE('10.) June 1983', 'JJ. LUN. (YYYY'), 'GURGAON', 'DL', 'INDIA' OF THE DOUBLE)

    SELECT DEPT_ID,

    RTRIM (XMLAGG (XMLELEMENT(A,VALS||',')). Extract ('//Text ()'), ',') COLUMNS_WITH_DUPLICATE

    DE)

    SELECT * FROM)

    SELECT DEPT_ID,

    EMP_ID,

    Date of birth

    CITY,

    STATE,

    COUNTRY

    DE)

    SELECT DEPT_ID,

    EMP_ID,

    Date of birth

    CITY,

    STATE,

    COUNTRIES,

    COUNT (*) OVER(PARTITION BY DEPT_ID ORDER BY EMP_ID DESC,DOB DESC,CITY DESC,STATE DESC, COUNTRY DESC) RN

    DE)

    SELECT DEPT_ID,

    CASE WHEN(CEID>1) AND THEN 'YES' ELSE 'NO' END AS EMP_ID.

    CASE WHEN(CDOB>1) THEN 'YES' ELSE 'NO' END AS DATE OF BIRTH,

    CASE WHEN(CCITY>1) AND THEN 'YES' ELSE 'NO' END AS CITY.

    CASE WHEN(CSTATE>1) AND THEN 'YES' ELSE 'NO' END AS STATE.

    CASE WHEN(CCOUNTRY>1) THEN 'YES' ELSE 'NO' END AS A COUNTRY

    DE)

    SELECT DISTINCT

    DEPT_ID,

    CEID,

    CDOB,

    CITY,

    CSTATE,

    CCOUNTRY

    DE)

    SELECT DEPT_ID,

    COUNT (*) TO THE CEID (DEPT_ID PARTITION, EMP_ID),.

    COUNT (*) ON CDOB (DEPT_ID SCORE, DATE OF BIRTH),

    COUNT (*) ON THE CITY (DEPT_ID PARTITION, CITY),

    COUNT (*) ON CSTATE (DEPT_ID PARTITION, STATE).

    COUNT (*) ON CCOUNTRY (DEPT_ID, COUNTRY PARTITION)

    FROM T1)))

    WHERE RN = 1)

    UNPIVOT (CLO FOR (VALS) IN (EMP_ID, DATE OF BIRTH, CITY, STATE, COUNTRY)))

    WHERE COLS = "YES".

    DEPT_ID GROUP;

    OUTPUT:

    DEPT_ID COLUMNS_WITH_DUPLICATE
    --------- ------------------------

    1 CITY, COUNTRY, STATE
    2 CITY, COUNTRY, STATE
    3 CITY, COUNTRY, STATE

    Post edited by: Parth272025

  • How to select columns, that we need a table with pivot

    Hello

    How can I select only the required columns that I need the table

    My goal is to keep everything in one line

    Database: 11.2.0.2.0

    I have a table called Table Agent

    create the table AGENT_DETAIL

    (

    agent_id NUMBER (20) not null,

    agent_type_code VARCHAR2 (10) not null,

    agent_type_prefix VARCHAR2 (10) not null,

    Type_Code VARCHAR2 (10) not null,

    type_prefix VARCHAR2 (10) not null,

    last_modified DATE not null

    )

    INSERT INTO agent_detail VALUES

    (29709, ARE ',' OFFICE ',' DNSWEB ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ',' OFFICE ',' DNSNATID ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ',' OFFICE ',' DELIVERY ',' AGTDETAILS', SYSDATE);

    INSERT INTO AGENT_DETAIL VALUES

    (29709, ARE ', 'OFFICE', "WEBUSAGE", "WEBUSER" SYSDATE);

    When you query it against the table

    SELECT * FROM AGENT_DETAIL;

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXTYPE_CODETYPE_PREFIXLAST_MODIFIED
    129709REOFFICEDNSWEBAGTDETAILS22:14:15 12/09/2015
    229709REOFFICEDNSNATIDAGTDETAILS09/12/2015-22:15:26
    329709REOFFICEDELIVERYAGTDETAILS09/12/2015-22:21:37
    429709REOFFICEWEBUSAGEWEBUSER10/12/2015-09:27:52

    Because my goal is to put everything in a single line instead of get in 4 rows

    My query is like that

    (select *)

    the Dungeon of pivot (min (TYPE_CODE) AGENT_DETAIL (last dense_rank command by LAST_MODIFIED) for TYPE_CODE in ('DNSWEB' as the WEB)

    'DNSNATID' as

    NATIONAL,

    'DELIVERY' AS

    DELIVERY,

    "WEBUSAGE" AS WEBUSAGE

    )

    ))

    Result:

    AGENT_IDAGENT_TYPE_CODEAGENT_TYPE_PREFIXTYPE_PREFIXWEBNATIONALDELIVERYWEBUSAGE
    129709REOFFICEWEBUSERWEBUSAGE
    229709REOFFICEAGTDETAILSDNSWEBDNSNATIDDELIVERY

    Is it possible to get everything in one record, I know that I have two type_prefixes different (WEBUSER, AGTDETAILS)

    But all I want to see my data is like this

    Agent_id Agent_type_code Agent_type_prefix WEB WEBUSAGE NATIONAL DELIVERY

    --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    RE OFFICE DNSWEB DNSATID DELIVERY WEBUSAGE 29709

    Hello

    When you use SELECT... PIVOT, the result set contains 1 row for all the distinct combinations of the values of all columns except columns mentioned in the PIVOT clause.  If you want to ignore some columns completely, then let the PIVOT operated at a "table" that does not include the.  For example:

    with RELEVANT_AGENT_DETAIL as

    (

    Select AGENT_ID, AGENT_TYPE_CODE, AGENT_TYPE_PREFIX, TYPE_CODE, LAST_MODIFIED

    of AGENT_DETAIL

    -where--if you filter, put it here

    )

    Select *.

    of RELEVANT_AGENT_DETAIL

    Pivot (min (TYPE_CODE) Dungeon (last dense_rank command by LAST_MODIFIED))

    for TYPE_CODE in ('DNSWEB' as WEB

    'DNSNATID' as NATIONAL

    'DELIVERY' as DELIVERY

    "WEBUSAGE" as WEBUSAGE

    )

    )

    ;

    If you are lazy or trying to be cute, maybe you can give the columns unwanted some lazy jobs in the PIVOT clause, like this:

    Select *.

    of AGENT_DETAIL

    Pivot (min (TYPE_CODE) Dungeon (dense_rank last order by LAST_MODIFIED)

    TYPE_CODE

    TYPE_PREFIX

    )

    for TYPE_CODE in ('DNSWEB' as WEB

    'DNSNATID' as NATIONAL

    'DELIVERY' as DELIVERY

    "WEBUSAGE" as WEBUSAGE

    )

    )

    ;

    But this makes the code confusing and may be difficult to maintain.

  • How to handle pictures that are 'missing or offline.

    For some reason, all photos in 1 folder were shown as being absent. I re-imported the photos from my hard drive in lightroom, so now I have 2 copies of each visible photo - those with the? label indicating that they are offline or missing and the photos that I have re-imported. Then when I went to remove the thumbnails w / the / label, I realized that I do not understand enough about how to delete work. I want to delete the catalog, not the hard drive. I read the info in the help, but am still confused. Also, I would like to select and delete the entire batch at once, instead of one by one, but it seems that delete the photo active, even though I selected all duplicates. Then...

    1. how to import photos without ending up with duplicates

    2. How can I remove without removing the hard drive

    3. How can I delete a batch at once without having to do so one by one.

    Looks like I should be able to understand it on my own, but...

    Thank you. Carol

    1. how to import photos without ending up with duplicates

    Should you click on the "?" icon in the folder thumbnail or missing click on locate.

    2. How can I remove without removing the hard drive

    When press the button Delete, Lightroom prompts with two options: delete and delete the disk. You will need to click on the first.

    3. How can I delete a batch at once without having to do so one by one.

    Make sure that you are in the grid on the main display view. Select all of the batch and click on delete.

  • How to handle nulls through oracle forms?

    Hello

    I have a column check box on the form (request mode) and it always display the check box selected even underlying column is null.

    Please can tell me how can I show checkbox only enabled when colum data has value Y and all other cases should be unchecked (even with null values from database)

    Thank you
    VB

    VB,
    Make sure that you set the following properties of the checkbox.

    * Functional
         * Value when checked = 'Y'
         * Value when unchecked = 'N'
         * Check box mapping of other values = 'Unchecked'  (Default = Checked)
    * Data
         * Initial Value = 'N'
    

    The important property is the 'check box, mapping of other values". This property indicates how to handle values that are not expected to Oracle Forms. This is what causes the box to be checked when the value is NULL.

    I hope this helps.
    Craig...

    If a response is appropriate or useful, please mark accordingly

  • In ver39.0, I lost my display column of the number of messages in each of my subfolder - how can I get that back?

    When TB opens, it displays the tab file (version 39.0)
    On the left is a list of all my folders created sub - right is the list of the messages in the selected folders list.
    In my list of subfolders (left), there was a displayed column showing how many messages were in each case.
    I see is no longer this column of the counts of messages.
    That's happened?
    How can I get that back?
    Thank you
    Billy D. Reagan [email protected]

    DUUHH - I found how to restore the column Layout - VIEW - Menu - and check out pain of folder columns

  • I have a pdf form that has 4 columns, with each column having 28 check boxes and text between. I did so he goes by column, but when I do anything for a checkbox it takes it out of line. How can I keep that from happening?

    I have a pdf form that has 4 columns, with each column having 28 check boxes and text between. I did so he goes by column, but when I do anything for a checkbox it takes it out of line. How can I keep that from happening?

    You talk about the tab order? If Yes, go to Edit - Preferences - forms and make sure the box "Automatically adjust tab order when changing fields" is NOT checked.

  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

  • How to create a Unique constraint on a column that already has duplicates. Only future duplicates should be avoided

    Hi all

    Can someone let me know how to create a Unique constraint on a column that already has duplicates. Only future duplicates must be avoided.

    Any help will be greatly appreciated.

    Best regards

    gt1942

    ALTER table Add constraint unique (column_name) may be deferred novalidate;

  • I downloaded the trial version of ambient light recently and have not yet used.  It seems that someone in Uruguay has hacked my email account.  Can someone give me advice on how to handle this?  I have no intention of submitting a credit cardnum

    I recently downloaded the trial version of ambient light.  I have not yet used.  There is no eveidence that someone hacked into my email account.  I was intending to buy Hall of light at the end of the trial period, but have no intention to submit my credit card information until it is resolved.  I appreciate all the advice on how to handle this and secure the information I have.  Thank you.

    Start buying, security of your email account. After that when you go to buy the LR or the photographers subscription plan, you will be on the secure site of Adobe and has nothing to do with your e-mail account that is currently being hacked.

  • I'm new to Acrobat Reader DC.  I want to send PDF documents by e-mail, BUT do not want the recipient to be able to edit the document they receive.   How to handle that?

    I'm new to acrobat reader dc.  When I send a document by e-mail, I don't want the recipient to be able to edit the document they receive.   How to handle that?

    Hi MaureenYH,

    Restriction of anyone to modify the PDF using Acrobat | Securing PDF files with passwords will be possible using Acrobat free trial download Adobe Acrobat application | Acrobat Pro DC. Is not possible with the free Acrobat Reader DC application.

    Kind regards

    Nicos

  • How to get a list of columns that return RemoteObject result?

    I have a remoteObject that retrieve a result of a database calls and fills to a datagrid control. I would like to see if I can get a list of the names of columns that return the remoteObject calls and then to complete the list of columns in a comBox. How can I get a list of the column names returned?

    Thank you

    check if the result has values, I guess that its table

    for (var a: String in event.result [0])
    Alert.Show ("column name:"+ a ");

  • How do the display column that is not in the subject box.

    Hi all

    I have a requirement to report where I show a column that is not discipline.
    for example, obligation to report is like where I need the columns from 2 different subjects.
    1 in. and part 2 of the Bill.
    now, I have linked IN. details of invoice discipline, but one column is missing.
    Rite now I m capture this column related details report separate and I'm passing values to the main report.
    But what happens if I want to display this column in the main report.
    Please let me know your inputs...
    Thanks in advance...

    You can do it in 10g using the Advanced tab in the answers. Scroll to the part of the link that says, "against the two domains (multiple domains)."

    http://gerardnico.com/wiki/dat/OBIEE/multiple_subject_area

  • How to handle stale Stats script.

    Hello
    I use Release 10.2.0.1.0 Oracle. I have a scenario where I'm mediocre execution due to obsolete statistics plans, and how do I address the scenario. Here's the part of my main request which deviates the path of execution by the bad cardinality estimate.
     
          My column c1 of table tab1 holds javatimestamp values i.e. its NUMBER datatype which points to a date and time component only. And we gather stats each weekend on this table tab1.
          below is my query:
          
          select /*+gather_plan_statistics*/* from tab1          
          where c1 BETWEEN 1346300090668 AND 1346325539486    ;      
    
    Plan hash value: 3167980259
    
    --------------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                   | Name                    | Starts | E-Rows | A-Rows |   A-Time   | Buffers | Reads  |
    --------------------------------------------------------------------------------------------------------------------------
    |   1 |  TABLE ACCESS BY INDEX ROWID| tab1                    |      1 |   1    |    167K|00:01:13.72 |     158K|  12390 |
    |*  2 |   INDEX RANGE SCAN          | IDX_N1                  |      1 |   1    |    167K|00:00:13.27 |   13880 |   1736 |
    --------------------------------------------------------------------------------------------------------------------------
          
         Above shows a big gap in actual and estimated cardinality estimation, and its due to the fact that the HIGH_VALUE (1346203206173 points to 8/29/2012 1:20:06 AM) in DBA_TAB_COLUMN for     column C1 is well below  the STARTRANGE(1346300090668 points to 8/30/2012 4:14:51 AM) and ENDRANGE(1346325539486 points to 8/30/2012 11:18:59 AM) of the BETWEEN clause. 
         
         So even gathering stats daily on the table wont help me as because, in morning again it will require updated maxvalue for the column C1 for estimating proper, So how to handle this situation?  Dont want to go with 'hint' , want to make the stats proper so that optimizer will automatically pick the right path.
    Published by: 930254 on August 30, 2012 04:41

    930254 wrote:
    Yes, I think that of the two options as

    1. setting the High_value (high_value + 7 days ahead) in weekend work which is used to gather statistics on that table.
    2. addition of indication to follow the optimal path.

    y at - it of the other alternatives for this scenario? If this isn't the case, which will be advised of the option above?

    Published by: 930254 on August 30, 2012 06:46

    If you consider the Doms tips as well, theres "a piece of work, you need to make sure that the optimizer always uses the index that it could not properly high_value far out of reach since the last gathering"

    What is the best way to do it? Although you seem reluctant to do it, for me, it's the index indicator. You know that the index, it's what you want to use, it's a small change. All the others, although not terrible difficult to implement, need additional jobs in

  • I found the show/hide button toolbars, but you should know how to REMOVE toolbars that appear on this list?

    I found the show/hide button toolbars, but you should know how to REMOVE toolbars that appear on this list?

    Is attached a screenshot of my screen with the context menu to show/hide tabs. I want to delete some of them and let others. Please help me to know how. Thank you!

    Hmm, maybe this "one-time" imported into the new preference? Try this:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the cust and make a pause so that the list is filtered

    (3) double-click the preference of browser.uiCustomization.state and the content must be highlighted in a small dialog box.

    (4) copy the whole line and paste it into Notepad and save it as a backup.

    (5) in Firefox, click on the button '3-bar' menu > developer > Notepad. Remove the comment that appears and paste data preferably, that must appear on a long line. Click on the "Pretty Print" button to make it more readable.

    So I hope that you can spot the extra toolbars and change them out, taking care to preserve the commas between the elements.

    I don't have the extra toolbars in mine, but I copied and pasted back this spaced format and Firefox was able to handle it well. I went into customize and moved a button, and when I left, Firefox has rewritten the preference set as a single line. Assuming that yours works fine, then you can get rid of the backup from step (4).

Maybe you are looking for

  • 1805 - S154: DVD - ROM is not working properly.

    I have a toshiba satellite 1805-S154, and I just started to use it again. The dvd - rom is more will play DVD, it will run CD but whenever I put in a dvd - rom, nothing, it will not read the disc. Anyone know why this happens and how how can I solve

  • Satellite A100 - weird way to start up!

    Have just inherited a Toshiba Satellite A100, which is very well apart from a strange fact. When I received it the battery was flat and so I rebooted it, although it was not brimming with ability it hold a charge for about an hour. However, what I fi

  • ARIA

    Hello

  • Question of Smartphones blackBerry on blackberry PIN #.

    Hi guys,. I just have a question about bb pin #. I have a bb bold and I am with rogers. My friend becomes a blackberry at the Kuwait and by asking that I be able to text him using his PIN code? are there additional fees for it? Thank you

  • Student aid?

    Hello, I'm Rafael and I just want to ask a quick question to the community. I'm of the Brazil and I started to learn design recently using the trial versions of all adobe products, but, like all good things in life, it ended quickly. I went and asked