Create a SSIS Package - To Copy data from Oracle to SQL Server

You should use Lookup to join the common column( same data type) of SQL server and Oracle and retrieve the values from Oracle which does not have a matching record in SQL server.
Design Design
1.Using SSIS 2005
  1. Drag a OleDB Source and point to your Oracle Database and select the table .
  2. Drag a lookup and select the SQL Server connection and point to its table .
  3. In columns tab join the common column and select the columns in the right hand side which you need to retrieve . Lookup
  4. Click on Configure Error output and select redirect row for the join column . Lookup
  5. Drag a Oledb Command and connect it to the error output from the lookup. 6.Write an insert statement in Oledb CommandOledbOledb
2.If you are using SSIS 2008 then no need to configure the Error Output in lookup .Just drag the no match output from Lookup to SQL Server destination.

Note: The same question I have asked in the http://stackoverflow.com and I got this response some years back and that helped me to solve my Problem. So posting this to help others who are in need of this.

Comments

Popular posts from this blog

Error : ID4243: Could not create a SecurityToken.

MVC - Looping through the model properties from cshtml