日期:2014-05-16  浏览次数:20462 次

创建数据库链接DBLINK
-- Drop existing database link 
drop database link DBLTEST;
-- Create database link 
create database link DBLTEST//连接名称
  connect to REP 
  using '(DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 10.90.132.10)(PORT = 1521))//ip地址和端口
    )
    (CONNECT_DATA =
      (SERVICE_NAME = calltrdb)//数据库实例
    )
  )';

?