当前位置: 数据库>oracle
oracle数据库在客户端建立dblink语法
来源: 互联网 发布时间:2014-09-07
本文导语: oracle服务器没有建立目标数据库的TNS时,在客户端(有权限的情况下)建立dblink语法如下: 代码如下: create database link dblink_name connect to user_name identified by user_psw using '(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xx.xxx.x...
oracle服务器没有建立目标数据库的TNS时,在客户端(有权限的情况下)建立dblink语法如下:
代码如下:
create database link dblink_name connect to user_name identified by user_psw using
'(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xx.xxx.xx)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)'