Migrating DB2 Databases to SQL Server (DB2ToSQL)
SQL Server Migration Assistant (SSMA) for DB2 is a comprehensive environment that helps you quickly migrate DB2 databases to SQL Server or Azure SQL DB. By using SSMA for DB2, you can review database objects and data, assess databases for migration, migrate database objects to SQL Server or Azure SQL DB, and then migrate data to SQL Server or Azure SQL DB. Note that you cannot migrate SYS and SYSTEM DB2 schemas.
Recommended Migration Process
To successfully migrate objects and data from DB2 databases to SQL Server or Azure SQL DB, use the following process:
After you create the project, you can set project conversion, migration, and type mapping options. For information about project settings, see Project Settings (Conversion) (DB2ToSQL) and related sections. For information about how to customize data type mappings, see Mapping DB2 and SQL Server Data Types (DB2ToSQL).
Optionally, Assessment reports to assess database objects for conversion and estimate the conversion time.
You can do this in one of the following ways:
Save a script and run it in SQL Server.
Synchronize the database objects.
If necessary, update database applications.