Convert IBM DB2 to SQL Server.

DBConvert/DBSync for DB2 and MS SQL Server is a trustworthy application supporting fast and accurate database conversions and synchronizations from IBM DB2 to MSSQL server/Windows Azure SQL databases.

Our software is able to connect to source and destination databases directly without any other additional software installed. Optionally, a target SQL Dump file may be generated if you lack direct access to the MS SQL server.

The application is also competent to migrate data between two MS SQL Servers as well as at copying DB2 to DB2 databases.

Supporting three types of synchronization, a trigger-based synchronization feature, and extending synch to Windows Azure SQL Databases to and from DB2 are all among the most recent, exciting modifications implemented into our DBSync/ DBConvert tools for MSSQL and DB2.

Our software can also be launched from the command line with your predefined parameters previously stored as a session.

Schedule any session to run at a time that is convenient for you or even in response to a system event.

Our user friendly interface can considerably reduce the time and effort spent for migrating databases. No SQL knowledge is required of you in order to work with our programs.

 DBConvert for MSSQL & DB2

Migration directions:

  • DB2 → MS SQL Server, MS SQL Dump
  • MS SQL Server → DB2, MS SQL Dump
  • DB2 ↔ SQL Azure
  • IBM DB2 ↔ Amazon RDS

Version: 2.1.1

Release Date: Aug. 12, 2019

 DBSync for MSSQL & DB2

Sync directions:

  • DB2 ↔ MS SQL Server
  • DB2 ↔ MS SQL Azure
  • IBM DB2 ↔ Amazon RDS

Version: 2.0.6

Release Date: July 15, 2019

Try All-in-one DB migration and Sync software.

DBConvert Studio

 Version: 1.8.4

Release Date: Nov. 23, 2020

Supported databases:

  • SQL Server
  • MySQL
  • Oracle
  • PostgreSQL
  • Access
  • FoxPro
  • SQLite
  • Firebird
  • Excel
  • IBM DB2
  • Azure SQL
  • Amazon RDS
  • Amazon Aurora
  • Heroku Postgres
  • Google Cloud

Related Links

Supported OS:

Using IBM DB2 to SQL Server conversion and synchronization tools.

When you start DBConvert or DBSync application in GUI mode it guides you through several steps to set up the database migration or synchronization:

1. Connect to IBM DB2 source database.

If a source database requires you to log in, you can specify a user name/ password and host/ port parameters.

Connect to IBM DB2 source database from DBConvert

2. Connect to SQL Server destination database.

Specifying parameters for destination database looks like the same as for source. Usually, it consists of defining connection settings and username/password pairs.

Connect to SQL Server target database from DBConvert

NOTE #1: Every DBConvert or DBSync tool has two different databases in its name. That means any specified database from a pair can be set up as a source or destination. Besides, the same type of database may be set up both as a source or destination.

As an example, here is the list of possible migration directions with on-premises databases:

  • IBM DB2 to SQL Server
  • SQL Server to IBM DB2
  • IBM DB2 to IBM DB2
  • SQL Server to SQL Server

NOTE #2: Don't be confused by the fact that connections to cloud databases like Amazon RDS, Microsoft Azure SQL, Google Cloud, and Heroku are not explicitly specified in the configuration of a source or destination in the DBConvert / DBSync interface. To connect to Cloud database instances, use the same settings as you do for traditional on-premises databases.

NOTE #3: Your connections to source and target databases stay active until you close DBConvert/ DBSync application or reopen new connections on "source" and "destination" steps.

Read more about the specific source/ destination configurations for different databases.

3. Custoimzation and configuration.

At the next step, you can specify precisely which tables, fields, indices, views you want to transfer to the SQL Server destination database. Just check/ uncheck the box in front of each database object you want to convert.

Customize general database/ tables settings. Or set up a particular table , field, index individually when migrating data from IBM DB2 to SQL Server.

Check out our articles about Custoimzation and configuration. for detailed information.

The screenshot below sums up general features available in DBConvert software solutions.

4. Detection of potential database migration issues. Errors and Warnings

The database typically constrains certain relations on the data that cannot be violated. On the customization step, a smart error checker verifies all possible Data integrity and Referential integrity issues and highlights them, if any, before performing a migration.

DBConvert software to default tries to automatically map database types from the source IBM DB2 database to the closest equivalent of the target SQL Server database types. But you can manually change data types for the whole database globally with "Global mapping" or individually for each field.

Check out Smart error checker. Errors and Warnings for more information.

5. Execution. The final stage of data migration from IBM DB2 to SQL Server

Once you configure source and destination databases for migration in the previous steps, you can start the actual conversion or synchronization process.

Click the "Commit" button to start conversion. Also, here, you can monitor the migtation/ synchronization process.

Optionally save connection settings and configuration parameters into the session file to schedule the launching of sync or migration jobs regularly.

Execution step of DBConvert products

Read more about execution stage available options.

Command line mode

Previously saved sessions can be passed as parameters to Command-Line DBConvert Client. A session keeps IBM DB2 source and SQL Server target database connection settings with other specified options.

Example: C:\Program Files\DBConvert\mssql2db2Pro\mssql2db2Pro_Cons.exe /Session:"Session_Name"

NOTE: First, you have to run the software in GUI mode to create a session file with initial parameters.

Built-in scheduler.

Our applications come with a built-in scheduler to run database migration and sync jobs at specified times. Just set the scheduled date and time to execute job sessions automatically.

DBConvert screenshot

Highlights

Requirements

  • Necessary privileges to write into database on the target SQL Server (this requirement is optional as there is an option to overcome the restrictions using dump file)
  • Microsoft Visual C++ 2008 x86 Redistributable package
  • If you connect to remote DB2 server that IBM Data Server Client should be installed on the machine where our tool is installed. You can download this client here: https://www-01.ibm.com/support/docview.wss?uid=swg21385217
  • Necessary privileges to write into empty database on the target DB2 server