SQL> connect /as sysdba
已连接。
SQL> grant select on hr.employees to scott;
grant select on hr.employees to scott
*
ERROR 位于第 1 行:
ORA-01031: 权限不足这怎么可能呢?SQL> show parameter db_block_size;NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_block_size integer 4096应该是8192吧,怎么是4096,而且这个参数好象是不能够修改的。
SQL> select * from v$version ;BANNER
----------------------------------------------------------------
Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production
PL/SQL Release 9.0.1.1.1 - Production
CORE 9.0.1.1.1 Production
TNS for 32-bit Windows: Version 9.0.1.1.0 - Production
NLSRTL Version 9.0.1.1.1 - Production
解决方案 »
- oracle存储过程中如何取不在一个数字范围并且不在另一个数字范围
- 怎么让oracle或者SqlServer中的外键约束暂时失效??
- number(11)
- 查询条件错在哪?日期型数据比较。
- 能否写一种程序点击直接生成oracle固定的数据库和表,方便用户安装操作
- 50分:为什么我打不开oracle的企业管理器(Enterprise Manager)?来者有分
- 一个简单的问题
- start with... connect by ...语句性能优化
- sql*plus 注册问题?
- mysql 的连接配置
- alter table new_emp add constraint fk_dept_no foreign ......deferrable initially immediate; 中deferrable initially immediate具体
- 利用TOAD软件如何察看ORACLE当前有哪些存储过程和JOB正在执行,在哪个菜单可以看到?
已连接。
SQL> grant select on hr.employees to scott;
grant select on hr.employees to scott
*
ERROR 位于第 1 行:
ORA-01031: 权限不足
-------------
重新登陆一下再执行同样的操作试试
grant select on hr.employees to scott
*
ERROR 位于第 1 行:
ORA-01031: 权限不足还是不行
但是
SQL> connect /as sysdba
已连接。
SQL> create user tom identified by tiger ;用户已创建SQL> grant create session to tom;授权成功。SQL> grant sysdba to tom ;却可以
--------------------------------------------------------------------
SQL> connect /as sysdba
已连接。
SQL> create user tom identified by tiger ;用户已创建SQL> grant create session to tom;授权成功。SQL> grant sysdba to tom ;
sql>connect tom/tiger;
sql>show parameter remote;表或视图不存在
tom不是已经是sysdba了么,为什么还不行呢?SQL> connect tom/tiger as sysdba
NAME TYPE VALUE
------------------------------------ ----------- -----------
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE