As above, we are getting the table creation sql script from SSMA, where on the top, column is defined as NULL and below alters statement is running where primary key has to be created on NULL column. Here we are getting error as "Primary key constraint can't be created on NULL column" .. Please advise on this.
SSMA Data Migration Issue DB2 to MSSQL 2022
Hi Everyone,
Greetings! Request your expert advice and support.
We need to migrate the Tables from Source AS400 DB2 to Target MSSQL 2022 server.
Following steps has been followed by us -
Installed SQL Server Migration Assistant software for DB2, Configured source database connection as DB2 for I AS400, Target to MSSQL database. We have performed convert schema option for existing schema in AS400. When we execute the downloaded script from SSMA it is throwing error for Primary keys on all the tables in schema. Tables are created in target MSSQL server without primary keys and ignored.
Problem is we are not able to match and create automatically Primary key constraints using SSMA tool from source AS400 to target MSSQL.
Please assist.
Thanks in advance.