Migrate 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 Database. 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 Database, and then migrate data to SQL Server or Azure SQL Database. You can't migrate SYS and SYSTEM Db2 schemas.
Recommended migration process
To successfully migrate objects and data from Db2 databases to SQL Server or Azure SQL Database, 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) and related sections. For information about how to customize data type mappings, see Map Db2 and SQL Server Data Types.
Optionally, Assessment Report to assess database objects for conversion and estimate the conversion time.
Load converted database objects into SQL Server.
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.