oracle04052,ORA-04052解决过程
生活随笔
收集整理的這篇文章主要介紹了
oracle04052,ORA-04052解决过程
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在一個存儲過程中通過dblink訪問另一個數據庫中的表,報04052,但是在相同用戶在sqlplus中卻可以通過dblink select同一遠程數據庫中的同一張表
[oracle@db1 ~]$ oerr ora 4052
04052, 00000, "error occurred when looking up remote object %s%s%s%s%s"
// *Cause:? An error has occurred when trying to look up a remote object.
// *Action: Fix the error.? Make sure the remote database system has run
//????????? KGLR.SQL to create necessary views used for querying/looking up
//????????? objects stored in the database.
[oracle@db1 ~]$
通過創建同義詞解決!
create synonym table_name for
據說:10G這前的一個BUG.
總結
以上是生活随笔為你收集整理的oracle04052,ORA-04052解决过程的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 华硕新款笔记本怎么装win10 华硕笔记
- 下一篇: c语言字符数组给字符指针,C语言常见有关