方法一:
方法二:
grant create database link to pdahd;
grant create session,connect resource to pdahd;
create user pdahd identified by pdahd default tablespace PDA_DATA;--这只是我记录一下
create database link to_foss connect to pkp identified by pkp120foss using 192.168.10.120/fossdb;
创建好了之后可验证一下
select * from dual@to_foss;
select waybill_no from pkp.tsr_waybill@to_foss;
原文链接:https://www.f2er.com/oracle/213292.html