![]() |
VOOZH | about |
Using SQL Server as a backup for critical business data provides an essential safety net against loss. Backing up data to SQL Server enables business users to more easily connect that data with features like reporting, analytics, and more.
This example demonstrates how to use the CData SSIS Tasks for DB2 inside of a SQL Server SSIS workflow to transfer DB2 data into a Microsoft SQL Server database.
To get started, add a new DB2 source and SQL Server ADO.NET destination to a new data flow task.
๐ The Data Flow task used in this example. (Salesforce is shown.)Follow the steps below to save DB2 connection properties in a connection manager.
Set the following properties to connect to DB2:
You will also need to install the corresponding DB2 driver:
On Windows, installing the IBM Data Server Provider is sufficient, as the installation registers it in the machine.config.
In the Java version, place the IBM Data Server Driver JAR in the www\WEB-INF\lib\ folder for this application.
Follow the steps below to specify the query to be used to extract DB2 data.
SELECT Orders.Freight, Customers.ContactName FROM Customers INNER JOIN Orders ON Customers.CustomerId=Orders.CustomerId๐ The SQL query to retrieve records. (Salesforce is shown.)
Follow the steps below to specify the SQL server table to load the DB2 data into.
You can now run the project. After the SSIS Task has finished executing, your database will be populated with DB2 data.
๐ The completed import. (Salesforce is shown.)Download a free trial of the IBM DB2 SSIS Component to get started:
Download NowLearn more:
๐ IBM DB2 IconPowerful SSIS Source & Destination Components that allows you to easily connect SQL Server with IBM DB2 through SSIS Workflows.
Use the IBM DB2 Data Flow Components to synchronize with IBM DB2 databases. Perfect for data synchronization, local back-ups, workflow automation, and more!