drop database link "STANDARD";
drop database link "CSPS"
--创建dblink
create database link STANDARD
connect to OSIBANK identified by osibank
using ‘(DESCRIPTION =
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.6)(PORT=1521)))
(CONNECT_DATA=(SERVICE_NAME=debug
))
)‘;
create database link CSPS
connect to OSIBANK identified by osibank
using ‘(DESCRIPTION =
(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.6)(PORT=1521)))
(CONNECT_DATA=(SERVICE_NAME=debug
))
)‘;
时间: 2024-10-13 21:27:14