oracle数据库怎么创建用户
答案:2 悬赏:0
解决时间 2021-02-14 20:27
- 提问者网友:清羽墨安
- 2021-02-14 12:35
oracle数据库怎么创建用户
最佳答案
- 二级知识专家网友:开心就好
- 2021-02-14 12:42
使用sqlplus或者其它oracle客户端工具连接登陆到数据库:
--创建【表空间指定为可选项】
create user 用户名 identified by 密码 [default tablespace 表空间名 ];
--授权【根据需要来决定】
grant create session to 用户名;
grant create table to 用户名;
grant create tablespace to 用户名;
grant create view to 用户名;
grant connect,resource to 用户名;
grant create any sequence to 用户名;
grant create any table to 用户名;
grant delete any table to 用户名;
grant insert any table to 用户名;
grant select any table to 用户名;
grant unlimited tablespace to 用户名;
grant execute any procedure to 用户名;
grant update any table to 用户名;
grant create any view to 用户名;
--创建【表空间指定为可选项】
create user 用户名 identified by 密码 [default tablespace 表空间名 ];
--授权【根据需要来决定】
grant create session to 用户名;
grant create table to 用户名;
grant create tablespace to 用户名;
grant create view to 用户名;
grant connect,resource to 用户名;
grant create any sequence to 用户名;
grant create any table to 用户名;
grant delete any table to 用户名;
grant insert any table to 用户名;
grant select any table to 用户名;
grant unlimited tablespace to 用户名;
grant execute any procedure to 用户名;
grant update any table to 用户名;
grant create any view to 用户名;
全部回答
- 1楼网友:随心随缘不随便
- 2021-02-14 13:06
这个错误的官方说明如下:
即,如果该临时表空间存在的话,那么它的类型不对。临时表空间不能创建为assm模式
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯