dblink

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
                            ))
             )';
上一篇:详解 $_SERVER 函数中QUERY_STRING和REQUEST_URI区别


下一篇:sql server 查询数据库所有的表名+字段