CREATE TABLESPACE xx LOGGING DATAFILE ‘E:\database\oracle11g\oradata\orcl\xx.dbf‘
SIZE 100M AUTOEXTEND ON NEXT 32M MAXSIZE 500M EXTENT MANAGEMENT LOCAL;
create temporary tablespace xxx_temp tempfile ‘E:\database\oracle11g\oradata\orcl\xxx_tmp.dbf‘
size 100m autoextend on next 32m maxsize 500m extent management local;
CREATE USER user IDENTIFIED BY password DEFAULT TABLESPACE xx TEMPORARY TABLESPACE xxx_temp;
grant connect,resource,dba to user;
grant create session to password;