Skip to Content
author's profile photo Former Member
Former Member

Using table comarison, hist preserve and key gen transforms with CDC type 2

I am creating a job SCD type 2: Under table comparison properties > compare columns list box.

I am giving all fields of traget table except the primary key.

primary keycolumn, i put in input primary key.

And i am using the history presevation & key gen transforms before target table.

We have lot of data in the source, is this an optimized way to load to the target table or will i need to make any changes?

Thank you very much for the helpful info.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 10, 2012 at 09:07 AM

    For a better performance, you can use a Query transform before Table Comparison, use the primary key fields (that you use inside Table Comparison) in the Order By tab of the Query transform and select the option Sorted input in Table Comparison transform.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.