码迷,mamicode.com
首页 > 数据库 > 详细

创建 database link

时间:2018-02-07 16:58:53      阅读:172      评论:0      收藏:0      [点我收藏+]

标签:rip   tab   base   protocol   toc   tcp   creat   using   desc   

--旧环境
create /* public */ database link prod2parts
  connect to apps identified by appsr15apps
  using ‘(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.104)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = PROD)))‘;

--新环境
create /* public */ database link prod2parts
  connect to apps identified by apps
  using ‘(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.50)(PORT = 1521))(CONNECT_DATA =(SERVER = DEDICATED)(SERVICE_NAME = PROD)))‘;

创建 database link

标签:rip   tab   base   protocol   toc   tcp   creat   using   desc   

原文地址:https://www.cnblogs.com/ZHENGbin415/p/8426834.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!