SQLSERVER2008R2 Link Server to Oracle 11g

Source: Internet
Author: User

    • First, my SQL Server R2 and oracle11g are installed on the same computer.

Let's take a look at the configuration method:

1. After configuring the ODBC installation to complete Oracle in the driver, there will be Oracle in ORADB11G_HOME1 this driver such as:

Then add the data source configuration in the user DSN as follows:

and then save.

2. Open the provider in SQL Server, then double-click Open Oracledb.oracle, tick the dynamic parameters and allow the process, and then save. Such as:

3. Create a new linked server, such as:

Double-click Open new Linked server, point general, configured as follows:

Note that the data source here should fill in the configuration of the instance in the Oracle configuration file Tnsnames.ora (to write a line of several lines in the box), such as:

Click again to open the security configuration below:

Then save it, and you can.

I am also the first time configuration here for easy reference. There must be other ways, hope Bo friends teach me.

Cross-Link query statements:

SELECT * FROM OPENQUERY (link name, ' SELECT column_name from table_name ')

SQLSERVER2008R2 Link Server to Oracle 11g

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.