0
我有一個遠程表blob列通過數據庫鏈接訪問。我想從我的本地表遠程發表blob column.I插入一個blob正在執行動態sql
像如下無法執行動態sql錯誤:global_names參數必須設置爲TRUE對於此操作
declare
theblob blob;
theclob clob;
thenumber number;
begin
select base64encode2(image) into theclob from per_images where image_id = 113077;
execute immediate 'insert into [email protected](column1,column2,column3) values((select null from dual),(select base64encode2(image) from per_images where image_id = 113077),(select ceil(5.4) from dual))';
commit;
end;
當我運行sql
我得到ORA-02069:GLOBAL_NAMES參數必須設置爲TRUE此操作。
如果我這樣做ALTER SESSION SET GLOBAL_NAMES = true
然後我得到數據庫鏈接APPSERP2ERPAPPS.CSN.EDU.PK連接到TEST.CSN.EDU.PK錯誤而插入BLOB。
請告訴我如何將blob插入到遠程表blob列中。
感謝
嗨,你是否在尋找連接性問題或相關的東西,你嘗試過沒有'價值'像這裏https://asktom.oracle.com/pls/apex/f?p = 100:11:0 ::: :P11_QUESTION_ID:9529803800346305193 – karelss
當我插入null它沒有任何錯誤。 INSERT INTO image @ APPSERP2ERPAPPS SELECT * FROM mview但同樣的錯誤 –
@karelss謝謝你。你給的鏈接工作。 –