SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Werid Behavior when writing From SQL Server to DB2
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

qman
Constraint Violating Yak Guru

USA
440 Posts

Posted - 04/05/2013 :  13:22:03  Show Profile  Reply with Quote
Here's an odd one..

I have a simple data flow task that reads a SQL table as its source, converts some columns, and writes to a DB2 destination table.

When I run the package, the dataflow task fails at when writing to DB2. Odd thing, is the records get written to the DB2 table.

I don't see anything wrong with the retreival, and can write to a test excel file with no issues....

Any ideas with this one?

Thanks!

qman
Constraint Violating Yak Guru

USA
440 Posts

Posted - 04/08/2013 :  10:50:49  Show Profile  Reply with Quote
Figured this one out... Primary key violation on the DB2 side...
Go to Top of Page

russell
Pyro-ma-ni-yak

USA
5072 Posts

Posted - 04/08/2013 :  11:26:08  Show Profile  Visit russell's Homepage  Reply with Quote
Ahaa, yeah, that'd do it
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000