安裝成功後
文件位於
(SID_DESC =
(SID_NAME = sqlpubs)
(ORACLE_HOME = E:\oracle\ora
(PROGRAM = tg
)
然後重啟TNS監聽器
客戶端在通過透明網關訪問sql server之前
在文件tnsname
hs_sqlpubs =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = eking)(PORT =
)
(CONNECT_DATA =
(SID = sqlpubs)
)
(HS=OK)
)
其中
sql>
create public database link sqlserver
connect to oracle identified by oracle
using
其中
sql>desc authors@sqlserver
sql>select * from authors@sqlserver
From:http://tw.wingwit.com/Article/program/Oracle/201311/18252.html