1、在查詢分析器中執行sp_addlinkedserver
@server = 'xzh.world', --ORACLE鏈接服務器的名稱
@srvproduct = 'Oracle', --固定不變的
@provider = 'MSDAORA', --固定不變的
@datasrc = 'xzh.world' --Net8中的服務器別名(網絡服務名)
安全性---鏈接服務器---ORACLE鏈名(xzh.world)
---右鍵顯示屬性對話---Security選項卡
select * from [XZH.WORLD]..POS.A001