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
解决方案 »
- sfb_divfloat_1(a,b,0,0)函数是怎么定义的?
- 创建视图的时候group by的问题
- oracle 基础问题 帮忙的叩谢啊!
- oracle中查询条件逗号分割
- 帮我看个简单的错误 谢谢
- 请教recover database的一些疑问
- 如果我想给一个存在记录的表增加字段,如何操作?原来的记录需要保留!
- 我也来散分!就要脱裤衩换新衣服了
- 请问oracle有没有类似charindex的函数,获取某个子串在一个字符串里的位置?
- 创建表单时候,为什么varchar2(10)类型字段不能输入'王磊'这样的值?
- 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