0

错误说表不存在。我的问题是为什么我会收到错误消息?

SQL> GRANT SELECT, INSERT, UPDATE, DELETE ON system.emp to chap7;
GRANT SELECT, INSERT, UPDATE, DELETE ON system.emp to chap7
                                           *
ERROR at line 1:
ORA-00942: table or view does not exist

该表确实存在,

 SQL> select ename from emp;

 ENAME
 ----------
 KING
 BLAKE
 CLARK
 JONES
 MARTIN
 ALLEN
 TURNER
 JAMES
 WARD
 FORD
 SMITH

 ENAME
 ----------
 SCOTT
 ADAMS
 MILLER
 Stuttle

 15 rows selected.
4

1 回答 1

1

也许这张EMP桌子不属于SYSTEM? 做:

SELECT owner FROM all_tables WHERE table_name = 'EMP'

GRANT另外,你在做什么用户SELECT

于 2011-10-22T04:24:31.680 回答