datebase links

建立Dlink链接串
在spl/plus 工具中,选datebase links
在sql窗口中执行
-- Drop existing database link
drop database link FROM_ERP;
-- Create database link
create database link FROM_ERP
  connect to apps identified by duatapp1011
  using '(DESCRIPTION=
       (ADDRESS=(PROTOCOL=tcp)(HOST=SZXMR15-TS.huawei.com)(PORT=1531))
            (CONNECT_DATA=
                (SERVICE_NAME=DUAT)
                (INSTANCE_NAME=DUAT)
            )
  )';
再刷新;

你可能感兴趣的:(sql)