DB2 Version 9.7 for Linux, UNIX, and Windows

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

Read syntax diagramSkip visual syntax diagram
>>-MIGRATE--+-DATABASE-+--database-alias------------------------>
            '-DB-------'                   

>--+-------------------------------------+---------------------><
   '-USER--username--+-----------------+-'   
                     '-USING--password-'     

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.