在oracle9i的机器的tnsnames.ora里配置10g的服务名为:
ora10g =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip )(PORT = 1522))
)
(CONNECT_DATA =
(SERVICE_NAME = ora10g)
(SID = ora10g)
)
)
然后:
create database link dblink_test connect to username identified by passwd using 'ora10g ';
标签:9i,10g,dblink,ADDRESS,oracle,ora10g
From: https://blog.51cto.com/u_16255870/7552224