首页 > 代码库 > Oracle如何创建表空间

Oracle如何创建表空间

create user frame identified by tiger;

grant create session to frame; 

grant create table to frame; 

grant create tablespace to frame; 

grant create view to frame; 

grant dba to frame;

alter user  frame default role DBA;

create tablespace framework  

datafile ‘D:/oracleData/framework.dbf‘  

size 500M  

autoextend on next 5M maxsize 3000M; 

alter user frame quota unlimited on framework;