【oracle建表空间的命令】
在CMD中打sqlplus /nolog
然后再
conn / as sysdba //创建临时表空间
create temporary tablespace user_temp
tempfile 'D:\oracle\user_temp.dbf'
size 50m
//创建数据表空间
create tablespace tzbjls logging datafile='D:\oracle\product\10.2.0\oradata\xtengzhi'
size 50m
autoextend on next 50m maxsize 20480m
extent management local;
//创建用户并指定表空间
create user tzbjgc identified by tzbjgc
default tablespace tzbjgc
temporary tablespace user_temp;
//给用户授予权限
grant connect,resource,dba to username;