oracle 添加用户

Posted 八风不动

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了oracle 添加用户相关的知识,希望对你有一定的参考价值。

select * from v$tablespace;

select * from dba_tablespaces where contents like ‘TEMP%‘;

select * from v$tempfile f,v$tablespace t where f.TS# = t.TS#;

create tablespace pioneer_data
datafile ‘C:APPADMINISTRATORORADATAORCLpioneer_data.DBF‘
size 50M
extent management LOCAL
UNIFORM size 1M;

create temporary tablespace pioneer_temp
tempfile ‘C:APPADMINISTRATORORADATAORCLpioneer_temp.DBF‘
size 50M
extent management LOCAL
UNIFORM size 1M;

create USER dog
identified BY wangwang
DEFAULT tablespace pioneer_data
TEMPORARY tablespace pioneer_temp
quota 68M on pioneer_data
quota 28M on USERS
password expire;

DROP USER DOG;

select * from dba_USERS;

select * from v$tablespace;

alter user dog quota 0 on users;

以上是关于oracle 添加用户的主要内容,如果未能解决你的问题,请参考以下文章

oracle怎么删除用户添加的系统表空间

Oracle 12c 添加scott用户

在Oracle中添加用户登录名称

Oracle安装时,已有oracle用户,将用户添加到oinstall和dba用户组

添加非oracle用户到dba, oinstall组

Linux环境下添加Oracle的Scott用户