1. 程式人生 > >創建 database link

創建 database link

apps ica -- cat blog script post psr edi

--舊環境
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