SSIS synchronizes multiple databases

Source: Internet
Author: User
Tags ibm db2 ssis

This week received a new demand from IBM DB2, synchronizing data to SQL Server. In from SQL Server, synchronize to Oracle.

Because IBM is a 32-bit platform, Oracle is a 64-bit platform. and requires the use of scheduled tasks, so there are two copies of this stuff.

Installation

Installation is the beginning of everything, originally very simple things, but also waste a little time.

First SSIS, full name: Microsoft SQL Server Integration Services. Therefore, you need to install the Integration Services service on SQL Server.

After you install this service, you also need to install the client. Sql2008 above, included in the database tool.

Create

Tools for developing SSIS are called: SQL Server Business Intelligence Development Studio. Similar to the 2005 vs icon.

When open, create a new project. Select Integration Services.

You can then drag the control to the panel from the Toolbox on the left.

When you need to connect to a database, you can create a data source in the upper-right corner. And right-click from the connection Manager to create a new connection from the data source.

In the Properties panel in the package file, you can choose how sensitive information is saved.

If you want to save your link string password, etc., sensitive information. You can use a password to protect it.

In the options, ProtectionLevel, select Password, which can be password protected.

Then, when you save as a copy of the file, fill in the password.

Create a batch program that executes on a regular basis.

@echo off
CD C:\Program Files\Microsoft SQL Server\100\dts\binn
dtexec.exe/f "E:\CHENXY\SSIS\AS400TOMSSQL.DTSX"/de 123

SSIS synchronizes multiple databases

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.