1.建立DBLINK
①使用sqldeveloper
找到database links 右擊 new
②直接使用 SQL
create database link new_test(dblink的名稱)
connect to frame(資料庫名)identified by a(密碼)
using '172.xx.xx.174/db11g'(位址和Sid)
2 進行資料插入(字段保持一緻)
insert into table(字段1,字段2,...)(select 字段1,字段2...from [email protected])