Oracle Database SQL server database transfer

One, first of all, before converting the table built in SQL server database, the data can be inserted into the well.
Note: Because the table and field names Oracle databases are capitalized if it is lowercase in SqlServer database, then converted, using a table or field names when you need double quotation marks ( ""), so before converting the table all names and field names written in uppercase , easy to use.

Second, Next, go directly to the tutorial

  1. Right-click the database, export data task →
    Here Insert Picture Description
  2. The following pop-up interface, direct the next step
    Here Insert Picture Description
  3. Select Data Source: The data source do not change the server name (localhost), you can select Windows authentication and SQL server authentication, and then click Next →
    Here Insert Picture Description
  4. Then select the target: target selection (Oracle provider for OLE DB), select and click Properties →
    Here Insert Picture Description
  5. Data Connection Properties: Select → Use specified user name and password for the user name and password → fill you want to use (check the Allow saving password) → Test connection (connection success) → OK → Next
    Here Insert Picture Description
  6. Copy the specified table or query: Select the first next →
    Here Insert Picture Description
  7. Select the source table and source view: Select Mapping Editor →
    Here Insert Picture Description
  8. Transfer Settings: Select the target architecture (Oracle user name) you want to create
    (Note: The following two options, the first one is: When in your selected target, containing the name of the table to be created to delete the old table re-create a new table; do not have a second choice)
    Here Insert Picture Description
  9. Modified field data type of the table (Integer → number, NVARCHAR2 → varchar2 , datatime → data) After modification Click OK →
    Note: If a plurality of tables, then each table must modify the data type
    Here Insert Picture Description
  10. Ruoguo red box with a warning label, you need to select the check box at the blue, green box without attention, when you are ready click Next →
    Here Insert Picture Description
  11. Click Next to continue →
    Here Insert Picture Description
  12. Click → completed, the final table of contents will be copied to the Oracle database, and finally if the error message, I encountered several (1. Data type conversion error; 2.Oracle not replicated database tables, and selected " delete and recreate the table "; 3 character length field is less than the length of the data)
    Here Insert Picture Description
Published 36 original articles · won praise 7 · views 2060

Guess you like

Origin blog.csdn.net/q_2540638774/article/details/103978035