Minimum permission required for SQL Server Migration Assistant for DB2 (DB2ToSQL)

saurabh 356 Reputation points
2021-07-14T03:54:42.023+00:00

Hi,

I am trying to use SQL Server Migration Assistant for DB2 (DB2ToSQL) for my migration project.

As part of the project requirements, I need to request for a db2 service account for the migration project. However, the SSMA documentation does not clearly tells what are the list of database privileges required for tool to work.
For obvious reason, it might not be possible to get dbadm,sysadm(or instance id) for migration.

Please advise what is the minimum permission required on DB2 database to migrate schema of all user objects to SQL server.

Azure Database Migration service
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
538 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Alexander Ivanov 491 Reputation points
    2021-07-14T04:49:54.6+00:00

    Hey,

    The owner of the schema should have necessary permissions.

    Having said that, schema conversion does not require you to connect to production database. Most of the time users prefer to do schema conversion from the test/dev instance, where you will have any level of access you want. Only the data movement would need access to prod database, and for data access that is the authorization - DATAACCESS.

    Regards,
    Alex.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.