利用database link实现跨库查询


create database link dbLink
connect to USERID identified by PASSWORD
using 'SID';
/
select * from SID.tableName@dbLink;
/
drop database link dbLink;

你可能感兴趣的:(ORACLE)