How SQL Server 2005 exports data to Oracle 11g

Source: Internet
Author: User
Tags datetime

The export is derived from the MS-brought OLE DB provider Access interface:

1. Right-click the database to Export "task"-"Export Data"-"Set export data source

2. Set Oracle as Target data source

3. Set the target table (create)

4. Edit Field

Since SQL Server's T-SQL is not the same as Oracle's pl/sql definition data type, note here to modify the type:

int-> Number (note the precision of setting number)

nvarchar-> varchar2 (preferably nvarchar2, but Ms this drive only offers this conversion)

DateTime-> Date

You can also edit SQL directly, note how Pl/sql is written, and the next step after editing

5. The datetime here is turned into date with a warning, but it doesn't matter, then you can ignore the error and truncation, and next:

6. Click Finish

View the data table and data just exported in Oracle EM

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.