The goal of this section
is to configure the Surrogate Key Generator transformation. In this
sample job, the surrogate key is generated using the default settings.
By default, the transformation generates key values based on the largest
value in the key column. Remaining configuration steps identify the
target table and the key column in the transformation's
Options tab.
the option values that determine the method of surrogate key generation.
Perform the following
steps to configure the Surrogate Key Generator transformation:
-
Open the properties
window of the transformation, and then select the
Options tab.
On the
Options tab, select
Target
table and key columns.
-
Specify the name of
the target table in
Select Target Table.
-
Specify the business
key column or columns by selecting from the list of columns under
Select
business key columns in source and target table. The
business key columns are the primary key columns in the source.
-
Specify the target column
that receives the surrogate key values. Select the down arrow under
Select
surrogate key column, and click the target column. The
following display depicts the completed
Options tab
in the sample job.
Completed Options Tab for Sample Job
-
Click
OK to
save the option specifications and close the properties window.