Migrating an Oracle database to the new schema
How you migrate a database with the existing schema to the new schema, by using the sample SQL script file.
Before you begin
Take a backup of the database, and its relevant configuration information, that you are going to migrate and refer to the Oracle entity relationship diagram.
Attention: The NCLOB data type has no limit on the length of the data that can be
stored. However, VARCHAR2 has a limit of 4000 bytes, so there could be some data loss while
migrating to a new schema if the existing database contains file names that are longer than 4000
bytes (or 32767 bytes for an extended string).
In this situation, only the last 2000 characters of the filename will be migrated, therefore, you should ensure that your file names do not exceed 2000 characters.
About this task
The following four sample SQL script files are located in
<MQ_Installation_Directory>/mqft/sql:
- oracle_nvarchar_migration_step_1.sql
- oracle_nvarchar_migration_step_2.sql
- oracle_nvarchar_migration_step_3.sql
- oracle_nvarchar_migration_step_4.sql