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:\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;