oracle經過dblink查詢sqlserver報錯

報錯以下:sql

SQL> select * from t@mstest;oracle

select * from t@testsqlserver

*.net

ERROR at line 1:server

ORA-28545: error diagnosed by Net8 when connecting to an agentblog

Unable to retrieve text of NETWORK/NCR message 65535get

ORA-02063: preceding 2 lines from MSSQLclass

解決辦法:test

說明:sqlserver版本爲2008sed

gateway版本爲11.2.0.4。

sqlserver端的listener中將program的值寫成了tg4msql。11g版本應該爲dg4msql,10g版本中爲tg4msql

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SID_NAME = PLSExtProc)

(ORACLE_HOME = C:\product\11.2.0\tg_1)

(PROGRAM = extproc)

)

(SID_DESC =

(SID_NAME = test)

(ORACLE_HOME = C:\product\11.2.0\tg_1)

(PROGRAM = dg4msql)

)

)

再次執行成功

 

 

oracle gateway透明網關詳細安裝步驟可聯繫重慶思莊

相關文章
相關標籤/搜索