以下的文章主要向大家讲述的是Oracle跨服务器的具体操作,本文主要是以相关实际应用代码的方式来引出Oracle跨服务器的具体操作方案,以下就是文章的具体内容描述,望你在看望之后会有所收获。
Sql代码 create public database link test_link connect to test identified by "test" using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.101)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = ora9i) ) )'; create public database link 名字
connect to 用户名
identified by "密码"
using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 地址)(PORT = 端口)) ) (CONNECT_DATA = (SERVICE_NAME = SID) ) )';