Oracle不支持直接經過Database Link複製遠程數據庫表的CLOB/BLOB字段數據到本地數據庫。linux
像以下的SQL是不能執行的。(ipop_topic表有一個CLOB的字段)數據庫
insert into ipop_topic
select * from ipop_topic@prod.us.oracle.com where application_id=1000oracle
可是,咱們能夠藉助全局臨時表,先把數據複製到臨時表,再從臨時錶轉移到你的目的表。app
create global temporary table ipop_topic_temp
as select * from ipop_topic@prod.us.oracle.com where rownum=1ip
insert into ipop_topic_tempget
select * from ipop_topic@prod.us.oracle.com where application_id=1000it
insert into ipop_topic
select * from ipop_topic_tempio
committable