Multiple Changes in Monthly FIle From Source.

  • Hi

    Can you please provide me stored proc logic to capture the changes from source file while loading into datawarehouse.

    eg:

    Source (Monthly input in Jan)

    Empid Emp Name Date

    1 ABC Jan 1st

    1 DEF Jan 10th

    Target Output

    Empid Emp Name Start Date End Date

    1 ABC Jan 1st Jan 9th

    1 DEF Jan 10th Null

    Source (Monthly input in Feb) , will also have history

    Empid Emp Name Date

    1 ABC Jan 1st

    1 DEF Jan 10th

    1 GHI Feb 1st

    Target Output

    Empid Emp Name Start Date End Date

    1 ABC Jan 1st Jan 9th

    1 DEF Jan 10th Jan31st

    1 GHI Feb 1st

    Please reply with the approach..Thank you

  • You could use the slowly changing dimension wizard in SSIS, but it is a bit slow. Here's a list of alternatives:

    Alternatives to SSIS SCD Wizard Component

    [/url]

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply