How to implement SCD type 2 in OWB 11g

Hi all,
I would like to know that how to implement SCD type 2 in OWB 11g.
Actually I have tried to implement it but the target table which contains the effective_date and expiration_date are null after running the mapping.
I have set the effective date and expiration date settings in the SCD tab of dimension object.
Kindly help me the same if anyone knows.
Kind regards,
shikha

You were able to get OWB11g to move data?
Are you running on a 64-bit windows server? I could not get it to do a basic data move on this type of server install.

Similar Messages

  • How to implement SCD type 6 in stored procedures

    Hi ,
    Can you please expalin with using some examples
    Thanks!!

    yes want to do separately.thanks for your comments  
    You would require two INSERTs and an UPDATE
    Just convert my MERGE into INSERT and UPDATE 
    Use a further INSERT over the UPDATE
    ie like below
    INSERT Supplier_Dest
    Supplier_Code,
    Supplier_Name,
    Current_State,
    Historical_State,
    Start_Date,
    End_Date,
    Current_Flag
    SELECT Supplier_Code,
    Supplier_Name,
    Current_State,
    Current_State,
    GETDATE(),
    '99991231',
    'Y'
    FROM
    UPDATE d
    SET Current_State = s.Current_State,
    End_Date = CASE WHEN d.Current_Flag = 'Y' THEN GETDATE() ELSE End_Date END,
    Current_Flag = 'N'
    OUTPUT INSERTED.Current_State,
    INSERTED.Supplier_Code,
    INSERTED.Supplier_Name,
    INSERTED.Start_Date
    FROM Supplier_Dest AS d
    INNER JOIN Supplier_Source AS s
    ON s.Supplier_Code = d.Supplier_Code
    AND COALESCE(d.Current_State,'') <> COALESCE(s.State,'')
    )t(Current_State,
    Supplier_Code,
    Supplier_Name,
    Start_Date)
    WHERE Start_Date <> '19000101';
    INSERT (
    Supplier_Code,
    Supplier_Name,
    Current_State,
    Historical_State,
    Start_Date,
    End_Date,
    Current_Flag)
    SELECT
    s.Supplier_Code,
    s.Supplier_Name,
    s.State,
    s.State,
    '19000101',
    '99991231',
    'Y'
    FROM Supplier_Source AS s
    WHERE NOT EXISTS (
    SELECT 1
    FROM Supplier_Dest
    WHERE s.Supplier_Code = Supplier_Code
    AND COALESCE(Current_State,'') <> COALESCE(s.State,'')
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How can we implement scd type 2 in rpd

    Hi Experts,
    Can any one explain how to implement scd type 2  in rpd
    Thanks
    Chandrasekhar

    The Best possible solution is to implement in your DWH using your ETL tool.
    If you wan to do it in the RPD check out this link Current Employee Status with SCD Type 2 in OBIEE | Perficient Multi Shoring Blog
    Thanks,
    JD

  • SCD type 2 in OWB 10g R2

    Hello,
    I am trying out the SCD type 2 in OWB 10g R2. I have no hierarchies and hence created a dimension with one level. Apart from three business attributes I have 2 mandatory attributes as "EFFECTIVE_DATE" and "EXPIRY_DATE". I have set one of the business attributes to "Trigger History".
    I have 3000 rows in the source table. There is no transformation. the data is loaded from source to this dimension directly. One business attribute is loaded using a constant.
    When I executed the mapping, all 3000 rows are populated in the target with the expiry date column having null values and current date in the effective date, which is absolutely fine. When I execute the mapping again without changing anything in the source, rows are inserted in to the target with the effective date set to the second run and the expiry date set to previous effective date. As I understand new rows should be inserted only if there is change in the data.
    Please correct me if I am wrong. Please clarify and if my understanding is right where am I doing wrong with OWB?
    Your help is greatly appreciated
    Thanks a lot on advance!
    Regards,
    Maruthi

    Hi Roelant,
    I think it is important to be aware that although Paris - 10gR2 - is not actually buggy (in this respect!), it is really quite idiosyncratic in exactly how it processes SCDs.
    I followed up on your and Mark's comments, and did an in depth analysis of this topic. It is at http://www.donnapkelly.pwp.blueyonder.co.uk/documents/OWB_10gR2_SCD.pdf
    My conclusions are perhaps of interest to anyone considering doing SCD processing with Paris.
    I'll be doing a follow-up this weekend, and publishing a sort of 'how-to-do-it' guide.
    Cheers,
    Donna
    Message was edited to add the words: "in this respect"

  • Has anyone ever implemented SCD Type-4 using SSIS??

    Hello Experts!!
    I have been trying to implement SCD TYPE-4 using SSIS and really got stuck and searched on-line for help. for my surprise, there isn't anything up on this topic.
    I know the theory behind SCD Type-4 is to maintain history in seperate tables in a rapid changing dimensions.
    please help if any of you ever implemented scd type-4 using SSIS.

    Hi,
    The stock Slowly Changing Dimension Transformation of SSIS only supports SCD Type 1 and Type 2. For SCD Type 4, it maintains two tables: one to keep the current data, and the other one to keep the historical data. As a workaround, you can also implement
    SCD Type 1 via SCD Transformation, and implement Change Data Capture at the same time. SSIS also provides CDC Control Task and related Data Flow components.
    References:
    http://www.bidn.com/blogs/TomLannen/bidn-blog/2606/slowly-changing-dimension-type-1-changes-using-ssis-scd-component 
    http://www.mattmasson.com/2011/12/cdc-in-ssis-for-sql-server-2012-2/ 
    Regards,
    Mike Yin
    TechNet Community Support

  • How to implement SCD and outer join in OBIEE

    Hi Experts,
    1.How we can implement SCD1 and SCD2 in OBIEE.
    2. How to implement outer join..? Can we implement outer join in physical layer.?
    Regards
    Frnds

    1. Better to implement this as a part of data warehouse/ETL. If you insist there is explanation on how to work with SCD's in Administrator in some Oracle University Student Book, I think it's for Siebel Analytics version.
    2. Implement outer joins using complex joins in BMM (type option). It's possible to implement in physical layer only in obiee views (new physical table/table type - select), otherwise not, you cannot specify outer join in the physical layer using complex joins.
    Regards
    Goran
    http://108obiee.blogspot.com

  • How to implement SCD when a natural key gets changed?

    Hi,
    I have an requirement that, some times the natural key field of the dimension table may get changed. In that scenario, how can I implement the SCD type 2 for that dimension table. Pls post your suggestions and feedback.
    Thanks in advance,
    Kishan

    Hello Kishan,
    could you please be a little bit more specific and provide an example? I really can't imagine why a natural key should change. If it changes it's another item that has nothing to do with the item described by the old natural key. What I'm trying to say is if your natural key gets "broken" then it's not your natural key. Try to build one on your own. You can for instance concatenate the old natural key with a sequence number and use that construct as your natural key.
    Regards,
    Jörg

  • SCD TYPE 2 in ODI 11g-error in INSERT CHANGING AND NEW DIMENSIONS

    Hi Guys,
    Im using IKM:Oracle Slowly Changing Dimension to achieve SCD TYPE 2.
    It is working fine for Overwrite on change.
    But whenever there a new insert upon change(Add Row on Change) in source, throwing below error:
    ODI-1228: Task INT_EMP_SCD_TYPE (Integration) fails on the target ORACLE connection ORA_DEV_EDW.
    Caused By: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_EDW.EMP_KEY) violated.
    I have unique key in target table column SAPID.
    How to overcome this issue.
    quick help would be highly appreciated.
    Thanks,
    Sreedhar S,
    <telephone number removed by moderator. this is a publicly viewable forum, not Oracle technical support>

    Hi Sreedhar,
    As said in the error message, you have an unique or primary key on one column and you try to insert a value already existing. This is a design issue.
    You have to ensure that you don't try to re-insert existing value for the column(s) with the key.
    Regards,
    Jerome

  • How to implement multi-source XSLT mapping in 11g PS3 BPEL  ?

    Hi
    How to implement multi-source (single destination) XSLT mapping in 11g PS3 BPEL ? Is there any good example step by step ?
    thx
    d

    Hi d,
    Also there's a sample available at samplecode.oracle.com mapper-105-multiple-sources.zip.
    Regards,
    Neeraj Sehgal

  • How to implement a CURSOR & looping inside ODI 11g Procedure

    Hello All,
    I have requirement where in my source data has multiple rows for an Item number with different Product numbers, I have to concatenate all the Product Numbers of speciifc Item number and update it into another column on the same table. How can we achive this inside ODI 11g? Can we use ODI Procedure? Can we implement a Cursor inside the ODI procedure to group the records based on Item Number and use a loop to concatenate as we do it inside a normal PL SQL procedure, if so, please let me know?
    Ex source:
    Column1,Column2, Column3
    Item01, Product01, null
    Item01, Product02, null
    Item01, Product03, null
    Item02, Product01, null
    Item02, Product08, null
    need to convert/update this source data to
    Column1,Column2, Column3
    Item01, Product01, Product01 Product02 Product03
    Item01, Product02, Product01 Product02 Product03
    Item01, Product03, Product01 Product02 Product03
    Item02, Product01, Product01 Product08
    Item02, Product08, Product01 Product08
    Regards,
    MRM

    Hi Thanks for the reply,
    I replaced the code for column3 mapping to
    CASE WHEN POC_DECODE.SOURCE IS NOT NULL THEN
    SELECT LISTAGG(POC_DECODE.TARGET,'')
    WITHIN GROUP ( ORDER BY POC_DECODE.SOURCE)
    FROM TABLE POC_DECODE A WHERE A.SOURCE=POC_DECODE.SOURCE
    END
    I get the below error:
    ODI-1228: Task TEST_POC_CONCATE (Integration) fails on the target ORACLE connection ORACLE_ORMS_DS.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00923: FROM keyword not found where expected
         at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
         at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:953)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3467)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1350)
         at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java:665)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.executeUpdate(SnpSessTaskSql.java:3218)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java:1785)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2805)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java:68)
         at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
         at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
         at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:322)
         at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:237)
         at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:794)
         at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
         at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
         at java.lang.Thread.run(Thread.java:619)
    Please help...

  • Implementing SCD-1 and SCD-2 in ODI

    Hi all,
    Please tell how to implement SCD-1 and SCD-2 in ODI?
    Regards
    Chandra

    I guess SCD-2 should be implemented in following way.
    1) Change your data store olap type to "Slowly changing dimension"
    2) Go to list of columns that were reversed.
    3) Right click on the column on which you want to mplement SCD
    4) Go to description. Change Slowly Changing Dimension behaviour accordingly.
    5) I guess these option will be used by the KM.
    I havn't tried this. Let me know if you succeed.
    Regards,
    Amit
    Edited by: amitgupta1202 on Aug 18, 2009 1:06 AM

  • How to Implement User Area in Oracle Forms 6i

    Hi,
    Could anyone please let me know how to implement Item Type *"User Area"* ?
    How to add User Area in layout Editor?,
    Thanks and Regards,
    Manasa

    Hi,
    Please post your question in the appropriate forum.
    Forms
    Forms
    Thanks,
    Hussein

  • How to implement User Area Item in Oracle 6i

    Hi,
    Could anyone please let me know how to implement Item Type "User Area" ?
    How to add User Area in layout Editor?,
    Thanks and Regards,
    Manasa

    Hi,
    Please post your question in the appropriate forum.
    Forms
    Forms
    Thanks,
    Hussein

  • SCD Type 2 in ODI

    Hi
    How to achieve SCD Type 2 in ODI.
    What are the process to be followed.
    Thanks.

    hi guru,
    Oh is it
    yesterday night i seen that he introduced Mr.SCD later i thought to go in day time
    My bad , now it was not working he he he he
    So,i have to work in night times on SCD ;)
    thanks,
    saichand.v

  • How to implement Custom Authentication and Authorization in Oracle SOA 11g

    Can anyone please tell me, how to implement Custom Authentication in Oracle SOA 11g ?
    Because in Oracle SOA 10.1.3.4 , i have implemented this custom authentication and authorization by implementing BPMAuthenticationService, BPMAuthorizationService, BPMIdentityService to verify againt my database systems.
    implementation classes like the mentioned below
    1).
    public class SampleAuthenticationService extends SampleServiceBase implements BPMAuthenticationService {
    2).
    public class SampleAuthorizationService extends SampleServiceBase implements BPMAuthorizationService {
    3).
    public class SampleIdentityService extends SampleServiceBase implements BPMIdentityService {
    Please help me to implement the authentication and authorization in Oracle SOA 11g .
    thanks in advance

    To start with please go through following document
    http://docs.oracle.com/cd/E21764_01/integration.1111/e10231/adptr_jms.htm
    http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_file.htm
    Regards
    Arpit

Maybe you are looking for