创建dblink

CREATE PUBLIC DATABASE LINK dblink1 CONNECT TO **username** IDENTIFIED BY **userpassword** USING '(DESCRIPTION =
     (ADDRESS_LIST =
       (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
     )
     (CONNECT_DATA =
    (SERVICE_NAME = orcl)
     )
   )' 

删除dblink

 drop public database link dblink1;

文章作者: zlinks
本文链接:
版权声明: 本站所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 ZFS的成长之路
Oracle Oracle基本语法
喜欢就支持一下吧