为什么我用grant insert,update,select,delete on a to system;以后还是不能以system的身份对表a进行查询?
SQL*Plus: Release 8.0.5.0.0 - Production on 星期三 8月 6
(c) Copyright 1998 Oracle Corporation. All rights reserv
连接到:
Oracle8 Release 8.0.5.0.0 - Production
PL/SQL Release 8.0.5.0.0 - Production
SQL> create user aaa identified by aaa;
用户已创建
SQL> grant connect,resource to aaa identified by aaa;
授权成功。
SQL> conn aaa/aaa;
已连接。
SQL> create table a
2 (a char);
表已创建。
SQL> insert into a values ('1');
已创建 1 行。
SQL> select * from a;
A
-
1
SQL> conn system/manager;
已连接。
SQL> select * from a;
select * from a
*
错误位于第1行:
ORA-00942: 表或视图不存在
SQL> conn aaa/aaa;
已连接。
SQL> grant insert,update,select,delete on a to system;
授权成功。
SQL> conn system/manager;
已连接。
SQL> select * from a;
select * from a
*
错误位于第1行:
ORA-00942: 表或视图不存在
我错在哪里?不好意思,刚刚学习oracle请大家指教。