oracle创建表空间

#创建表空间语句:
create tablespace user_data datafile 'D:\user_data.dbf' size 50m autoextend on next 50m maxsize 20480m  extent management local;

#创建表空间内的用户:
create user username identified by password  default tablespace user_data;

#给用户授予权限  :
grant connect,resource,dba to username;
#删除用户
drop user username cascade;

#删除表空间
drop tablespace user_data including contents and datafiles;

 

posted on 2015-12-09 23:44  一路前行  阅读(1463)  评论(0编辑  收藏  举报