网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 生活知识 知识问答

oracle用户管理与权限

时间:2026-02-16 22:40:54

1、创建与管理用户

创建用户

create user mr identified by mrsoft

default tablespace users

temporary tablespace temp;

oracle用户管理与权限

2、创建用户

配置磁盘限额

create user east identified by mrsoft

default tablespace users

temporary tablespace temp

quota 10m on tbsp_1;

oracle用户管理与权限

3、创建用户

配置在指定表空间不受限制

create user df identified by mrsoft

default tablespace tbsp_1

temporary tablespace temp

quota unlimited on tbsp_1;

oracle用户管理与权限

4、用户权限管理

授权操作

为用户授予连接和开发权限

--创建用户dongfang

create user dongfang identified by mrsoft

default tablespace users

quota 10m on users;

--创建用户xifang

create user xifang identified by mrsoft

default tablespace users

quota 10m on users;

--授权

grant create session,create table to dongfang with admin option;

connect dongfang/mrsoft;

grant create session,create table to xifang;

--连接到xifang

connect xifang/mrsoft;

create table tb_xifang

( id number,

  name varchar2(20)

);

oracle用户管理与权限

© 2026 一点知道
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com