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
- Right-click the database, export data task →
- The following pop-up interface, direct the next step
- 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 →
- Then select the target: target selection (Oracle provider for OLE DB), select and click Properties →
- 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
- Copy the specified table or query: Select the first next →
- Select the source table and source view: Select Mapping Editor →
- 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)
- 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
- 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 →
- Click Next to continue →
- 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)