select * from dba_directories;
CREATE TABLESPACE OracleLearning
LOGGING
DATAFILE 'F:\ORACLE\PRODUCT\10.2.0\ORADATA\ORCL\OracleLearning.DBF'
SIZE 1024m
AUTOEXTEND ON
NEXT 32M MAXSIZE UNLIMITED
EXTENT MANAGEMENT LOCAL;
create user OracleLearning identified by LQL850034044 default tablespace OracleLearning;
grant dba,connect,resource to OracleLearning;
原文地址:http://blog.51cto.com/11218855/2106421