2016-03-07 142 views
0

我正嘗試在SQL Server 2014中創建鏈接服務器。我試圖連接到Oracle 11g服務器。我在Oracle提供的OraClient 11g連接中使用Oracle。 ODBC連接在服務器上設置,我可以測試連接,所以它通過Windows工作。無法在SQL Server 2014上創建到Oracle 11g的鏈接服務器連接

我右鍵單擊數據庫中的鏈接服務器,然後選擇其他數據源。那裏沒有Oracle提供商的選擇。如果我嘗試使用Microsoft OLE DB Provider for ODBC驅動程序強制它,則連接將返回一條錯誤消息,指出「執行t-sql語句時發生異常。無法初始化OLE DB提供程序的數據源對象」MSDASQL「for鏈接服務器「服務器」。鏈接服務器「服務器」的OLE DB提供程序「MSDASQL」返回消息「[Micrsoft] [ODBC驅動程序管理器]未找到數據源名稱並且未指定默認驅動程序」(Microsoft SQL Server,錯誤:7303)

看來我失去了一些東西,爲SQL Server的方式來識別連接,但我不能找出任何指導,將不勝感激

回答

0

根據SQL Mag:。

Before you can create a SQL Server 2008 linked server to Oracle, you need to install the Oracle client software on the SQL Server 2008 system. The Oracle client software provides the network libraries that are required to establish connectivity to the Oracle database. In this case, the Oracle 11g database server is already installed and functional. Installing the Oracle client software on the SQL Server system enables it to connect to the existing Oracle server.

該文章適用於2008/11g,但原則應該與2014/11g相同。

+0

這有幫助。我有客戶端軟件,但在Linked Servers Privders下,我錯過了OraOLEDB.Oracle連接。我正試圖弄清楚如何讓現在加載。 – Azzna

相關問題