我在OE模式下有一個表訂單。我無法從scott或hr模式訪問此表。但是當我嘗試從這兩個模式中的oe.orders中選擇時,我會得到如下的不同消息。爲什麼這樣呢?ORACLE表上的權限
SQL> connect scott/test
Connected.
SQL> select count(*) from oe.orders;
select count(*) from oe.orders
*
ERROR at line 1:
ORA-01031: insufficient privileges
SQL> connect hr/test
Connected.
SQL> select count(*) from oe.orders;
select count(*) from oe.orders
*
ERROR at line 1:
ORA-00942: table or view does not exist
您是否定義了任何表同義詞? – 2011-05-13 15:45:52
沒有同義詞的表訂單 - 我檢查了dba_synonyms表 – josephj1989 2011-05-13 15:48:32
每個對象的類型是什麼?有了views,如果你不能訪問基礎表,它可能會拋出一個不同的錯誤。 – 2011-05-13 16:57:40