oracle建立dblink
创建oracle dblink的脚本:
CREATE public database link test_link CONNECT TO username IDENTIFIED BY password using ‘(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.24)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = orcl) ) )’;
主要标示含义
Username远程数据库的用户名;
Password远程数据库的密码;
10.1.1.24远程数据库ip;
Orcl远程数据库名;
欢迎转载,请注明出处:亲亲宝宝