Oracle DDL语句

2017-04-25  本文已影响0人  vubh
  1. 创建表空间
create tablespace wbh  
logging  
datafile 'C:\oraclexe\app\oracle\oradata\XE\wbh.dbf'
size 500m  
autoextend on  
next 500m maxsize 20480m  
extent management local; 
  1. 删除表空间
DROP TABLESPACE wbh INCLUDING CONTENTS AND DATAFILES;
  1. 创建表空间下用户
create user wbh identified by wbh
default tablespace wbh;
  1. 授权
grant connect,resource,dba to wbh
上一篇下一篇

猜你喜欢

热点阅读