MIGRATE DATABASE command
The MIGRATE DATABASE command converts a previous version of a Db2® database to the formats corresponding to the release run by the instance.
This command is deprecated and will be discontinued in a future release. You should use the UPGRADE DATABASE command instead.
Authorization
SYSADM
Required connection
This command establishes a database connection.
Command syntax
Command parameters
- DATABASE database-alias
- Specifies the alias of the database to be migrated to the currently installed version of the database manager.
- USER username
- Identifies the user name under which the database is to be migrated.
- USING password
- The password used to authenticate the user name. If the password is omitted, but a user name was specified, the user is prompted to enter it.
Usage notes
Refer to the UPGRADE DATABASE command documentation.
