Cannot insert more than once in an Oracle by ODI table

Hello

The scenario is that I need to load a table that stores the information of contact (telephone).
The source data are such that different models of phones come from different sources (phone, work phone, Fax etc) tables

I have developed various interfaces ODI based on types of phones.

It is for the first time, if I run one of the interfaces that it works correctly and properly inserted data. Then if I run an other interfaces, it is impossible to insert in the Middle I$ table (I$ _Phones) and is stuck there forever :-)

Is it an ODI problem or a problem with the database? I manually copy the query and tried to load it in the staging table, but it has not worked.

Someone of you know this type of questions in ODI ever? If so, are there workarounds?

PS - I checked if I drop the tables of intermediate flow after inserting records.

This is due to the fact that Oracle has written very generic KMs in order to study the NULL values in the data.

Duplicate the KM and transform step insert Flow I$ table.
Change the code of

          <%=odiRef.getColList("and\t","(([EXPRESSION] = T.[COL_NAME]) or ([EXPRESSION] IS NULL and T.[COL_NAME] IS NULL))", "\n\t\tand\t", "", "((UPD AND NOT TRG) AND REW) AND !UK")%>

TO

          <%=odiRef.getColList("and\t","([EXPRESSION] = T.[COL_NAME])", "\n\t\tand\t", "", "((UPD AND NOT TRG) AND REW) AND !UK")%>

The change above implies that you don't have NULL values in your data.

If you have NULL values, you must change the

 or ([EXPRESSION] IS NULL and T.[COL_NAME] IS NULL) 

something makes a comparison of NULL columns using the NVL clause.

Tags: Business Intelligence

Similar Questions

  • cannot use more than once back or cant use BACKSPACE to delete a letter when typing email or Word Help.

    Original title: cannot use the BACKSPACE or repeated letters

    If typing an e-mail or Word Help, I can't use the backspace over once to delete a letter. I also can not type two letters of same consecutively without highlighting with the mouse to delete and retype the letter.

    Check the keyboard settings in the control panel to ensure that delay and repeat rates are fixed limits on use.  There is a test there area where you can test your settings.

  • Possible to insert more than once in the same table using multi table insert?

    I used multi-table insert before insert a source separate from the tables without problem.

    However, when I want to insert into the same table two or more distinct lines, I encountered a problem because when I call nextval on the sequence since this is the same sequence # will try to use the same number for two inserts, which will raise a violation of PK constraint on the 2nd insert.

    A way around this problem?

    Another option is to create the sequence with increases of 2 or however many tables, you are targeting.
    When you then specify the. NEXTVAL, you must subtract the relative number of it, apart from the first table that you insert in to.

    Something like that;

    drop table t1;
    
    create table t1 (a number, b number);
    
    drop table t2;
    
    create table t2 (a number, b number);
    
    drop sequence test_seq
    /
    
    create sequence test_seq increment by 2 minvalue 0
    /
    
    insert all
    when 1 = 1 then
      into t1 (a, b) values (test_seq.nextval, 1)
    when 1 = 1 then
      into t2 (a, b) values (test_seq.nextval  - 1, 1)
    select 1, 1 from dual
    /
    
  • Satellite L505-10J - cannot play more than 30-60 min

    Hello

    I just bought the Toshiba L505-10 days last week and I'm really satisfied with my choice, but when I run a game like Counter Strike Source or Risen I have some strange problems. The first 30 to 60 Minutes are Ok, but then the sound starts cracking and my mouse stops (Razer Lachesis) shifts when I hold a key on the keyboard (for example, W to go forward). When I go to my office while playing this problem disappeared (I opened Notepad down W and moved the mouse. No problem at all). When I switch back is there once again. The only solution to this problem is to restart my computer. Then I can play the next 30-60 minutes before it starts all over.

    I have already reinstalled Windows 7, but the problem is still there.
    When I use my Touchpad instead of my mouse is the same thing. Cannot play more than 30-60 min...

    This is not acceptable, because I want to play games on my cell phone at any time.

    Hope someone can help me and sorry for my bad English, I'm from the Germany.

    Hello

    As I understand it, this problem occurs only playing games.
    There is no problem to use the laptop with another application.
    Is this good?

    Hmm how about graphic card driver update and BIOS update?
    If more recent versions are available then it would be desirable to update!

    Check it!

  • Cannot open more than 1 folder in Windows 7

    Hello! Running win 7 ultimate.

    I'm unable to open other windows of records once 1 is open. I cannot use that explore and must use the navigation pane to open the other files. Its very annoying that I can't open multiple folders! The funny thing is it works for a short period of time, just after I reboot, but the stops working there after. Someone has an idea, what happens? So frustrating!

    TIA!

    Hello

    Welcome to the Microsoft Community and thanks for posting the question.

    As described, cannot open more than one folder.

    Run the Fixit and check if it helps.

    Diagnose and repair Windows files and folders problems automatically

    Hope this information helps.

    Answer to us if you are having problems with opening files or any other issue of Windows, and we would be happy to help you.

    Good day!

  • Can I use windows 8 recovery more than once?

    * Original title: recovery of Windows 8

    Can I use windows 8 recovery more than once?

    Hello

    You can use the recovery media to reinstall as many times as you wish, as long as there is only a single installation of the operating system installed at any time and if preinstalled recovery media is linked to this machine and cannot be transferred.

    See you soon.

  • Why we cannot create more than one primary key on a table. Why we create several unique key on a table. Please explain if anyone have details of this.

    Why we cannot create more than one primary key on a table. Why we create several unique key on a table. Please explain if anyone have details of this.

    «a primary key has semantic meaning, it is to be immutable (never change of value), unique and not null.»

    a unique constraint is simply "at any time, these values are unique - they can change and they can be null.

    You use a unique when constraint

    (a) you do not already have a primary key for a table can have only one
    (b) you allow NULL values in attributes
    "(c) to allow you to update the values in the attributes.

    https://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:5541352100346689891

  • repeating subforms can you script to stop the same value being selected more than once

    I have a LiveCycle form with a subform that is repeated when the first field (text field 2 characters) requires the entry of a code between 01 and 99. You can script so that you cannot enter the same value of code more than once?

    Here's a code in Formcalc that works for you. Put it in the output of the textfield event.

    In this example, the page is called myPage and textField is called TextField1. Rename them as you need.

    indexCount var = 0

    var thisIndex = $. parent.index

    While (indexCount< thisindex)="">

    If (myPage [indexCount]. TextField1 is myPage [thisIndex]. TextField1) then

    xfa.host.messageBox ("you already used this number")

    $ = ""

    endif

    indexCount = indexCount + 1

    endwhile

  • I am (early 2013) iMac 21.5 inch 8 GB which is sutting down then restart unexpectedly often more than once a day. I ran the diagnostics of material, check the permissions and disk. All are no problem. Any suggestions?

    I have an iMac (early 2013 21.5 inch 8 GB) which stops and then restarts unexpectedly often more than once a day. I ran the diagnostics of material, check the permissions and disk. All are no problem. Any suggestions? I bought this machine this June last at B & H in New York.

    Please post a report of EtreCheckof your system. We then look for obvious problems. Please click on the link, download the application and run the report. Once you have the report, please copy and paste into your response to this post.

    If you would like more information on what is EtreCheck, just click on the link and you will find a description of the application.

  • artists are to display the window more than once in sync

    iTunes version 12.2.4.   In the timing window on the right side under "Artists" of some artists appear more than once.

    For General and advice on the Organization of the iTunes, see grouping of tracks in albums . In particular, any given artist name should be spelt constantly everywhere where it appears in the two fields artist album and artist, and still have the same sort value.

    TT2

  • Do you need to reset the PRAM or SMC more than once?

    I heard that the PRAM reset (more two carillons, like three..) or the SMC (do it twice, not one) more than once is sometimes necessary.

    What is your experience?

    If you have to do it more than once, it is because it is not done correctly the first time.

  • HP 15-ab027tx: can I use discs of recovery more than once?

    I got a new HARD drive and I installed Windows 8.1 through recovery discs that I created, but I need to know that I can use these disks more than once.

    Hello

    Yes you can, there is no limit to the number of times that that they can be used.

    Kind regards

    DP - K

  • even updated app more than once

    I have a brand new MacBook Pro 13 "that I have updated to El Capitan and now the app store has problems.

    In addition it is slower download updates, I won a few updates, showing more than once, even after it has been updated!

    Here is a picture of what I mean.

    All solutions?

    The repeated announcements of updates are an indication that the download failed at some point.

    Check under this system Mac, software, facilities report.

    You can download the updated Camera Raw from here, if the App Store is a pain.

    Apple - Support - downloads

  • Cannot print more than two pages

    Hello here

    I have a rather strange problem today: one of my users cannot print more than two pages...

    Regardless of the printer, the application or document, this specific user will receive the first two pages printed on the right, then a windows error (cannot print, the likely reason is a failure of the network, not enough memory, etc.)

    Current config is

    -User logged on the Witch of Windows 2008R2 Server Citrix XenApp 6.5 (published desktop).

    -Print server Windows 2008R2 with something like 150 shared printers

    I tried with other printers and file formats, on separate servers, it's always the same.

    Of course, everything works perfectly fine for other users...

    I'm not sure if any parameter can block printing up to two pages only, or anything else. Before you delete and recreate the user profile, as everyone has an idea?

    Grey'

    Hello

    Post your question in the TechNet Server Forums, as your question kindly is beyond the scope of these Forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    See you soon.

  • why I can not go back more than once all of a sudden and double letters are not allowed?

    I have to reset the cursor to go back more than once and nothing can hit twice (the second will not be displayed) very very frustrated!

    Hello

    1. You did changes to the computer before the show?
    2. Is - this USB keyboard or wireless?
    3. What is the brand and model of the computer, the mouse and keyboard?
    4. What version of Windows are you using?
    5. The issue is limited to a particular application?

    Please follow the steps below.


    Method 1:
    Run the troubleshooter mentioned in the link below
    Windows Vista http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-keyboard-problems

    Windows 7: http://windows.microsoft.com/en-US/windows7/Open-the-Hardware-and-Devices-troubleshooter

    Method 2: Check the boot issue.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135

    NOTE: After completing the troubleshooting steps, please reset the computer to start as usual (see the STEP 7 of the article mentioned below)

    I hope this helps!

Maybe you are looking for

  • How to recover Windows on Satellite M40?

    HelloI encountered a problem due to the power cut when my PC stop No chance to restart because I got the message: error c0000218lack file \windows\system\vga850.fonin the first window, select RIf I load the CD provided by Toshiba receovery system I a

  • Launch his idea s6000

    I have a Lenovo s6000 tablet. When I complete stops and starts it's starts to sound. Is there a way to disabel starting hard sound?

  • Not show Netflix in Windows Media Center because of the N8151 error.

    NETFLIX WILL NOT MY FILM BECAUSE OF THE N8151 ERROR DISPLAY.  THANKS FOR ANY HELP THAT YOU COULD PROVIDE. original title: THIS IS WHO CODE the ERROR N8151 THEN HOW I fix IT?

  • I have my screen somehow super-sized (all grown) and I get it do normal - what I do?

    I hit the button somehow and? don't know what else and the supersized TI-self screen. It's as if I hit the script enlarge for the hard drive to see and don't know how to get back to normal. I am working on a Toshiba Satellite A135-S4407.

  • HP psc 2410xi "Tension."

    Obtained at a yard sale. Came with a 0957-2178. Bed 'Cycle Power' on the LCD screen.  Tried a full reset (9 + #) and using a 0957-2144. This question has been asked at two different positions, but not found solutions. What is the printer? Is it the p