当前位置:Gxlcms > 数据库问题 > oracle 添加用户

oracle 添加用户

时间:2021-07-01 10:21:17 帮助过:3人阅读

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:\APP\ADMINISTRATOR\ORADATA\ORCL\pioneer_data.DBF‘
size 50M
extent management LOCAL
UNIFORM size 1M;

create temporary tablespace pioneer_temp
tempfile ‘C:\APP\ADMINISTRATOR\ORADATA\ORCL\pioneer_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 添加用户

标签:manage   taf   tor   table   dog   app   word   pac   pass   

人气教程排行