Join in odi

Hello gurus...
I am a beginner in ODI 11g.
How can i use join operator for transform data from two different tables to target table in ODI.
plz give an example with picture or video..
plz help.
soumya.

Hi Sowmya,
Below video link may helps you
http://www.youtube.com/watch?v=zH_MMe7YWbw
Regars,
Phanikanth

Similar Messages

  • Left outer join in ODI

    I am trying to do left outer join in ODI for the source tables in SQLserver.
    I have created a join between 2 columns and made it left outer join by checking the box in join properties.
    It is not working as expected. In the query it just does T1.Col1=T2.col1 and makes it as equi join.
    Any suggestions?
    Thanks

    I have the same problem..
    For example:
    Interface:
    SOURCE: tbl_employee, tbl_positions
    TARGET: tbl_persons
    In ANSI SQL it would be:
    INSERT INTO tbl_persons (..., position_name)
    select ..., tbl_positions.name from tbl_employee left join tbl_positions on tbl_employee.pos_id = tbl_positions.id
    But when I execute Interface, inserted data as JOIN, didn't inserted "NULL" in position_name.
    "LEFT JOIN" is in Interface's script...
    How decide this problem?

  • Standalone lookup - How to join in ODI - SQL Server

    Hi All,
    My Sql server query is joining as follows
    Select ...................
    From A.DBO.MAIN
    Inner Join A.DBO.LOOKUP_STANDALONE on 1=1
    How will I convert this in ODI?
    Thank you for the time and help.

    Hello,
    I think that what you want to do is a cartesian join (join all rows from MAIN with all rows from LOOKUP_STANDALONE).
    You can do that in ODI by drag one random column from MAIN onto one column of LOOKUP_STANDALONE (no matter which columns). Then click on your join et select the "Cross" Checkbox.
    Hope it helps,
    JeromeFr

  • Diff b/w lookup and join in odi

    Hi friends,
    I am new to ODI ,
                   Please can anyone explain the difference between "join" and "lookup" ?
    Thanks in advance !
    Cnu

    Hi,
    Have a look
    https://forums.oracle.com/thread/2470379
    Thanks

  • How to use multiple outer join in ODI

    SELECT
    Count(*)
    FROM
    student S,
    department D,
    course C
    WHERE
    D.S_Name=S.S_Name
    AND D.Dept_Name = C.Dept_Name (+)
    and S.C_Name =C.C_Name (+)
    And (D.Dept_ID = 1);
    I run this query. I got an ORA-01417 error.

    In topology change the join option to Ordered ISO
    then rewrite your query with ANSI syntax.
    SELECT
    Count(*)
    FROM
    student S join department D on D.S_Name=S.S_Name,
    student S right outer join course C on S.C_Name =C.C_Name,
    department D right outer join course C on S.C_Name =C.C_Name
    where
    (D.Dept_ID = 1);
    First verify the code in sql client befor implementing it in ODI
    Thanks,
    Sutirtha

  • Problem on Join in ODI

    Hi,
    I'm working on a migration case as follows:
    I have 1 source table, 1 reference table and 1 target table (All are in ORACLE). While the interface execution, the source will join the reference to get the UID from the reference table (FK to the target table) and put into the target. As the result, some source data is not migrated due to the join. Since that's not an error to constraint, thsoe 'not joined' data will not be able to fall into the E$ table. How ODI tell which data is not migrated from teh source?
    Remarks: the target field is not an not null field.
    Thanks a lot!!
    Tao

    ODI didn't say nothing about which data is not migrated.
    If you have selected CKM options in order to retrieve in the E$ table records with inconsistant null FK you could pass your join in Outer mode instead of Inner.
    All the null value retrieve by the query (in your source table but not in the reference one) will be send to the E$ table.
    If all your source table are in ORACLE, if I were you I would extract the SQL code from the Operator (at LKM or IKM time) to execute it on a query tool.
    You will see which records are forgotten.
    hope to help
    Brice

  • Implement MAX / JOIN in ODI 10g?

    What is the approach for using MAX functions in ODI 10g? I need it to filter source data:
    SELECT SRC_TAB.*       
    FROM SRC_TAB
    INNER JOIN
    (SELECT MAX(COL1) COL1, COL2  FROM SRC_TAB GROUP BY COL2) B
    ON SRC_TAB.COL1=B.COL1 AND SRC_TAB.COL2 = B.COL2
    Luckily this issue has been addressed in ODI 11g.
    Thank you.

    That's not good especially when you have large volume of data.
    In this case, in 10g it's better to rely on a underline view rather than 2 interfaces.

  • Select Distinct and join in ODI

    Hi,
    I have following task to perform: I am loading metadata into Planning dimension from Oracle database. I have two tables
    1. "Sales"
    Columns: Name, Number, Value
    Sample Data:
    Product 1, 10, 200
    Product 2, 30, 100,
    Product 1, 15, 500
    2. P&R
    Columns:
    Name, Alias
    Product 1, SampleSoda1
    Product 2, SampleSoda2,
    Resource 1, CanForSoda,
    Resource 2, CO2
    What I need to do is: I have to select name and alias from second table of all products that were sold.
    So I need to select distinct Name from Table 1, naxt join it with Table 2 (so I have Name and Alias) and load it to planning.
    I am a little confused how to do it.
    Any help would be great!
    Best regards,
    Greg

    Hi Greg,
    What you can do is either :
    - Create a yellow interface with your table Sales as source. Map the name column directly in the target. In the flow tab, click on your target and select "Distinct rows".
    - Create a second interface, with your first interface as source. Select the "Use Temporary Interface as Derived Table (Sub-Select)" checkbox.
    - Add your second datastore and join it. Or you can use a lookup table.
    OR
    - Create an interface with Sales and P&R as source (or set P&R as a lookup table).
    - Go on the flow tab and select "Distinct rows".
    If you've a lot a data in the first table, I would go for the first solution.
    Hope it helps.
    Regards,
    JeromeFr
    Edited by: JeromeFr on Feb 14, 2013 9:52 AM
    To be more clear in the first step of solution 1

  • How to use "full join" in ODI interface

    I need to join two tables using full join. So, when I drag and drop table columns (build join) and mark left and right join (get full join):
    +(All rows of OSS_NCELLREL (OSS_NCELLREL) including the rows unpaired with OSS_NECELASS (OSS_NECELASS) rows and all rows of OSS_NECELASS (OSS_NECELASS) incuding the rows unpaired with OSS_NCELLREL (OSS_NCELLREL)+
    I get the following error:
    Source panel of the diagram: Clause set to full join on a technology that does not support full joins
    I use Oracle DB tables in the same DB.
    Help! What I do wrong?

    Hi,
    You need to work around Topology Manager.
    Please follow the below steps,
    1. Edit the 'Oracle' technology from the Physical Architecture treeview.
    2. In the Technology Defintion Tab select 'Ordered (Sql ISO)' radio button.
    3. In the Technology 'SQL Tab' set the following:
    - Clause Location: From
    - Brackets supported in the ON clauses: check
    - Inner: check, type INNER JOIN
    - Cross: check, type CROSS JOIN
    - Left Outer: check, type LEFT OUTER JOIN
    - Right Outer: check, type RIGHT OUTER JOIN
    - Full Outer: check, type FULL OUTER JOIN
    PS: Please take a backup Oracle techno before editing. ;)
    Thanks,
    G
    Edited by: Gurusank on Nov 27, 2008 9:05 PM

  • Lookup Vs Join

    Hi,
    I want to know the basic difference between Lookup and Join in odi.
    Thanks

    Papai wrote:
    Hi Bhabani,
    I have checked this but if you provide some theoretical knowledge it will be more helpful Theoretically the lookup is doing a join, you get additional configuration to configure how it is implemented but the end result is the same.
    because I am unable understand the generated code.This is going to be an issue in the long run (ODI generates code to do all of its actions) , to really know the difference in this case I would do a little reading on :
    Join types (full, inner, outer, left, right etc)
    Correlated and Nested Subqueries (as per one of the results in the link given to you above).
    If you nail those two, you will be able to look at the generated code and decide which implementation technique is right for YOU on your environment, it wont be the same for everyone one..... which leads me to suggest you look at Explain plans , Oracle optimizer and how to do basic SQL Performance comparison - this will help you decide which method you use.
    BTW - In 10G we used to do all the lookups we ever needed, using Joins. We can also manually define nested/correlated select statements for an individual column in the target datastore - its just we needed to manually type it out :-)

  • Join error in Mapping !!

    Hi,
    I have 4 source tables and one target table. While mapping the source table with target I am getting following error:
    Critical:     DataSet Default     All datastores in a dataset should be joined. This dataset has several sets of disconnected source datastores. The sets are: [src1,src2,src3,src4].To design a Cartesian product, create a join and select Cross Join in its properties.
    Because of this error flow diagram cannot be created and showing the error message.
    Can anybody tell me what exactly I should do to make this work?
    Thanks,
    Shri

    If you need a cartesian join between tables you need to put a cross join. ODI needs a join (normal join or cross join) between all the tables that you've put in an interface.

  • Natural join--not supported in this technology

    Technology on which natural join is executed doesnt support natural joins.
    the odi version i am usind is 11.1.1.
    Look Up also doesnt seem to work in odi 11.1.1.
    How to use look up in odi 11.1.1.

    HI,
    For lookup you can use Outer join.
    For insert you can use Suppose s1 is source and T1 is Target then you can do S1 left outer join with T1.
    Thanks,
    Lony

  • Join on flat files

    Hi,
    I would like to do join using flat files. Is it possible to do join in ODI?
    Please let me if any possibilities.
    Thanks in adv

    As per Bhabani's response, yes - this is possible.
    ODI will perform the following actions when you do this (for example, let's say there are 2 flat files - A & B):
    - Creates two temporary flow tables in the database - one for each file
    - Loads data from file A and B into their respective flow tables
    - Optionally creates indexes on required join/filter fields on the flow tables
    - Selects data from the two flow tables by applying any join and filter logic that you have defined, and finally,
    - Loads the resulting data set into the target table
    Hope this helps.

  • Split a record into multiple records

    Hi,
    I have situation where i need to split a record into multiple records.
    InputData :
    value|BeginDate |EndDate
    15 |2002/10/15|2002/10/16
    13 |2002/10/13|2002/10/20
    19 |2002/10/19|2002/10/23
    10 |2002/10/10|2002/10/12
    OutPut :
    10 |2002/10/10|2002/10/12
    13 |2002/10/13|2002/10/15
    15 |2002/10/15|2002/10/16
    13 |2002/10/16|2002/10/19
    19 |2002/10/19|2002/10/23
    Thanks

    Hi ,
    As a far I understood from your example ,
    I have few questions...
    1. You have information about the patient in a 1 source table.
    2. how u are identifying for patient X u need 5 rows to be created. R u storing these informations in seprate table or how ...
    3. if you have these information in a seperate tables ..... a simple cross join in ODI should get you the expected result.....
    Or give some more information with a example ..that would be great ...
    Thanks

  • Split a record into multiple records (rows)

    I am using ODI to move data from source system to target system .Both are Oracle . In the source system I have a record which I need to split into multiple records or rows in the target system based on some rules . How can I achieve this in ODI . Please explain

    Hi ,
    As a far I understood from your example ,
    I have few questions...
    1. You have information about the patient in a 1 source table.
    2. how u are identifying for patient X u need 5 rows to be created. R u storing these informations in seprate table or how ...
    3. if you have these information in a seperate tables ..... a simple cross join in ODI should get you the expected result.....
    Or give some more information with a example ..that would be great ...
    Thanks

Maybe you are looking for

  • Testing Java & server-client

    Im new in Java and Im testing some 'How-to�s' before go deeply in develop sofware with Java. I have face this problem : About printing PDF files. I have a PDF file in my server, the server is in Linux, and the name of the printer of the client too. (

  • How to configure windows services alerts in SCOM 2012 for all agent servers. For eg, Terminal Services, Netlogon, RPC etc..

    Hi, I need to configure different windows services alerts in SCOM 2012. Below are some of the windows services I need to monitor through SCOM. Serivce: Windows Management Instrumentation Service: Netlogon Service: Remote Procedure Call (RPC) Service:

  • HT201317 Photo stream not sending photos to pc

    I am having issues with photo stream not operating. Apple support helped me correct this once, but it has happened again. I use PCtools internet security. Does anyone have ths issue or a solution? Photos are in my photo stream in the iphone, but do n

  • Making OnLoad work in individual cells in multiple rows

    Dear Raj et al... thanks for your help with getting the java applet (JMOL) working in individual cells/rows in report tables. I now need some help with getting OnLoad to work in each row. I am able to make it work in an HTML region (not in a report t

  • OnFilter event in Table UI element

    Hi, I need the coding for onfilter event in table ui element. And also i need step by step procedure for 'How to make the filter function possible in Table display'. ie. How many context nodes to be created, i have mapped on context node with bapi an