Before You Start Migrating: Source-Specific Information

Depending on the third-party database that you are migrating to an Oracle database, you may have to configure connection information and install drivers. For more information about specific third-party database requirements, see the following:

Related Topics

Migrating Third-Party Databases

Before Migrating From Microsoft SQL Server or Sybase Adaptive Server

To configure a Microsoft SQL Server or Sybase Adaptive Server database for migration:

  1. Ensure that the source database is accessible by the Microsoft SQL Server or Sybase Adaptive Server user that is used by SQL Developer for the source connection. This user must be able to see any objects to be captured in the Microsoft SQL Server or Sybase Adaptive Server database; objects that the user cannot see are not captured. For example, if the user can execute a stored procedure but does not have sufficient privileges to see the source code, the stored procedure cannot be captured.

  2. Ensure that you can connect to the Microsoft SQL Server or Sybase Adaptive Server database from the system where you have installed SQL Developer.

  3. Ensure that you have downloaded the JTDS JDBC driver from http://jtds.sourceforge.net/.

  4. In SQL Developer, if you have not already installed the JTDS driver using Check for Updates (on the Help menu), do the following:

    1. Click Tools, then Preferences, then Database, then Third Party JDBC Drivers.

    2. Click Add Entry.

    3. Select the jar file for the JTDS driver you downloaded from http://jtds.sourceforge.net/.

    4. Click OK.

  5. In SQL Developer, click Tools, then Preferences, then Migration: Identifier Options, and ensure that the setting is correct for the Is Quoted Identifier On option (that is, the setting reflects the database to be migrated).

    If this option is enabled, quotation marks (double-quotes) can be used to refer to identifiers; if this option is not enabled, quotation marks identify string literals. As an example of the difference in behavior, consider the following T-SQL code:

    select col1, "col 2" "column_alias"
    from tablex "table_alias"
    

    If the Is Quoted Identifier On option is enabled (checked), the following PL/SQL code is generated:

    SELECT col1, col_2 "column_alias"
      FROM tablex "table_alias";
    

    If the Is Quoted Identifier On option is disabled (not checked), the following PL/SQL code is generated:

    SELECT col1, 'col 2' "column_alias"
      FROM tablex "table_alias";
    

Before Migrating From Microsoft Access

To configure a Microsoft Access database for migration:

  1. Make backup copies of the database file or files.

  2. Ensure that the necessary software (Microsoft Access, perhaps other components) is installed on the same system as SQL Developer.

  3. Ensure that the Admin user has at least Read Design and Read Data permissions on the MSysObjects, MSysQueries, and MSysRelationships system tables, as explained in the information about the Access tab in the Create/Edit/Select Database Connection dialog box.

  4. If security is enabled, you should turn it off by copying the contents of the secured database into a new database, as follows:

    SQL Developer does not support the migration of Microsoft Access databases that have security enabled. By default, SQL Developer uses the name of the Microsoft Access MDB file as the user name for the destination Oracle user. If you create an Oracle user in this way, the password is ORACLE.

    1. From the File menu in Microsoft Access, select New Database.

    2. Select the Blank Database icon, then click OK.

    3. In the File New Database option, type a name for the database, then click Create.

    4. From the File menu within the new database, select Get External Data, then select Import.

    5. Select the secured Microsoft Access database that you want to import, then click Import.

    6. From the Import Objects dialog, click Options.

    7. Select the Relationships and Definition and Data options.

    8. From the Tables tab, choose Select All.

    9. Click OK.

      All Microsoft Access objects are copied over to the new Microsoft Access database, except for the security settings.

  5. If the application contains linked tables to other Microsoft Access databases, refresh these links by opening the application in Microsoft Access and performing the following:

    From the Tools menu in Microsoft Access 97, select Add Ins, then select Linked Table Manager.

    From the Tools menu in Microsoft Access 2000, select Database Utilities, then select Linked Table Manager.

  6. Ensure that the Microsoft Access database is not a replica database, but a master database.

    When you use the Exporter for Microsoft Access to export, an error message is displayed if the database is a replica. SQL Developer does not support the migration of a replica database.

  7. From the Tools menu within Microsoft Access, select Database, then select Compact Database to compact the Microsoft Access database files.

  8. Ensure that the Microsoft Access MDB file is accessible from the system where you have installed SQL Developer.

  9. Use the Oracle Universal Installer to verify that you have the Oracle ODBC driver installed. If you need to install the driver, it is available on the Oracle Database Server or Database Client CD. You can also download the Oracle ODBC driver from the Oracle Technology Network (OTN) Web site:

    http://www.oracle.com/technology/software/tech/windows/odbc/
    

    Install the Oracle ODBC driver into an Oracle home directory that contains the Oracle Net Services. You can obtain the Oracle Net Services from the Oracle Client or Oracle Database CD. You install Oracle Net Services to obtain the Net Configuration Assistant and Net Manager. These allow you to create a net configuration in the tnsnames.ora file.


    Note:

    For more information about installing the networking products needed to connect to an Oracle database, see the installation guide for your Oracle Database release.

Creating Microsoft Access XML Files

To prepare for capturing a Microsoft Access database, the Exporter for Microsoft Access tool must be run, either automatically or manually, as explained in Capturing the Source Database. This tool is packaged as a Microsoft Access MDE file and it allows you to export the Microsoft Access MDB file to an XML file.


Note:

Do not modify any of the files created by the Exporter tool.

Each Microsoft Access database that you selected is exported to an XML file. The exporter tool currently does not support creating XML files from secured or replica databases.

Before Migrating From MySQL

To configure a MySQL database for migration, install MySQLConnector/J release 3.1.12 or 5.0.4 on the system where you have installed SQL Developer and set the appropriate SQL Developer preference. Follow these steps:

  1. Ensure that you can connect to the MySQL database from the system where you have installed SQL Developer.

  2. Ensure that you have downloaded the MySQLConnector/J API from the MySQL Web site at http://www.mysql.com/.

  3. In SQL Developer, if you have not already installed the MySQL JDBC driver using Check for Updates (on the Help menu), do the following:

    1. Click Tools, then Preferences, then Database, then Third Party JDBC Drivers.

    2. Click Add Entry.

    3. Select the jar file for the MySQL driver you downloaded from http://www.mysql.com/.

    4. Click OK.

  4. Ensure that the source database is accessible by the MySQL user that is used by SQL Developer for the source connection. This user must be able to see any objects to be captured in the MySQL database; objects that the user cannot see are not captured. For example, if the user can execute a stored procedure but does not have sufficient privileges to see the source code, the stored procedure cannot be captured.