Informatica Powercenter : Bigint primary key violation

While loading data from a SQL Server database into Oracle i came across a problem. Everytime i did a full load of the data i got a primary key violation in the target table. This was weird because the source did not have any duplicate keys.

It turned out to be that the bigint from the source was loaded incorrectly into the target. The following value was in the source :

sourcevalue

The ID was processed by powercenter as :

sessionlog

Because the ID is truncated this causes multiple keys to be the same.

This can be fixed by setting the following option in your session:

session

 

The Bigint will now be loaded correclty.

 

Leave a Reply

Your email address will not be published.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close