Oracle10g 在PLSQL Developer上建立表空间脚本
Oracle10g 在PLSQL Developer上建立表空间脚本创建表空间
create tablespace Joy
datafile 'D:\oracle\product\10.2.0\oradata\orcl\Joy.def' size 500M
autoextend on next 100M maxsize unlimited logging
extent management local autoallocate
segment space management auto;
DROP TABLESPACE Joy INCLUDING CONTENTS AND DATAFILES;
二.创建用户
create user test identified by test default tablespace Joy;
三.授权
grant dba to Joy;
grant unlimited tablespace to Joy;