Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

How to load data into a dim table considering the SK

$
0
0

Hi,

I have a simple Table1 source table with 3 columns including a tID column which is the PK.

Assume the target is dimTable1 which contains the same columns as in source only with an additional Surrogate Key - tKey.

The tKey is the target table PK and is of type IDENT.

Please advise which destination asapter should i use to load the data from Table1 to dimTable1.

When i used an OLE DB Destination, i got an error since there is no source column for the target SK - tKey and since it is not nullalble, the transfer fails. But i would expect this tKey to auto increment by itself with every inserted row.

How should i do that?

Thank you in advance.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>