Oracle创建DBLink
时间:2021-07-01 10:21:17
帮助过:26人阅读
create /* public */ database link dblink1
connect to dbusername identified by dbpassword
using ‘(DESCRIPTION =(ADDRESS_LIST =(ADDRESS =(PROTOCOL = TCP)(HOST = 192.168.0.1)(PORT = 1521)))(CONNECT_DATA =(SERVICE_NAME = orcl)))‘;
-- 数据库参数 global_name=true 时要求数据库链接名称跟远端数据库名称一样。数据库全局名称可以用以下命令查出
-- select * from global_name; Oracle创建DBLink
标签:div global protoc connect list mil sys ddr creat