create database link MES
connect to APPS identified by APPSPASSWORD
using '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.0.221)(PORT=1526)))(CONNECT_DATA=(SERVICE_NAME=mesdb.vongates.com.cn)))';
如果hostname,port,service_name沒有錯的話,就會建立成功。
下面就可以試一下
select *from table@mes 就知道了,呵呵
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29987/viewspace-51825/ ,如需转载,请注明出处,否则将追究法律责任。