1 临时表
create temporary tablespace user_temp
tempfile 'D:oracleoradataOracle9iuser_temp.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
2 表空间
create tablespace user_data
logging
datafile 'D:oracleoradataOracle9iuser_data.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
3 用户
create user username identified by password
default tablespace user_data
temporary tablespace user_temp;
4权限
grant connect,resource,dba to username;