解决方案 »
- ORACLE 添加 删除字段怎么弄?
- oralce 9i 文本转换成数字 “无效数字”错误
- windows下的Oracle开发需要哪些库?
- 谁有用于 Windows NT/2000/XP 的 Oracle9i Warehouse Builder v9.2.0.2.8的啊 ?
- oracle中写存储过程,怎么讲select的各字段结果输出到文本文件中?
- oracle 表字段FTIME是DATE类型,但是为空值,怎么取它的值啊?
- Oracle的服务!请教
- 请问一下(shutdown immediate)和(shutdown abort)的区别。
- 作业调度
- 求一个最佳的查询语句
- 求助,去除视图部分
- 求教该如何写oracle语句
create role myrole
identified by myrole;grant create session,create table,create view to myrole
with admin option;grant select,update,insert,delete
on scott.emp to myrolecreate user testu identified by testu;
grant myrole to testu可以用dba角色查看创建的角色拥有的权限
SELECT * FROM ROLE_TAB_PRIVS where role='MYROLE'
SELECT * FROM ROLE_ROLE_PRIVS where role='MYROLE'
SELECT * FROM ROLE_SYS_PRIVS where role='MYROLE'
SELECT * FROM ROLE_WM_PRIVS where role='MYROLE'
我试了很多次,查看role的权限也是具有create session的,但是当用user3连接的时候,就报缺少create session 权限错误,不知道怎么搞的。
我试了很多次,查看role的权限也是具有create session的,但是当用user3连接的时候,就报缺少create session 权限错误,不知道怎么搞的。用命令再把role2授权给user3 很多次了,每次都是授予成功,但是user3 连接不上
grant create session to user3 这样就可以连接上
不过你创建角色和用户的时候用数字当密码能通过吗?需要加双引号吧
create role role2
identified by "888888";
加了引号,但还是连接不上user3
将角色授予给user3时,就不能连接。
这才是最头疼的