首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

oracle创办表空间,定义用户,用户授权

2012-08-28 
oracle创建表空间,定义用户,用户授权--创建表空间create tablespace hmldata datafile D:\oracle\oradata

oracle创建表空间,定义用户,用户授权
--创建表空间
create tablespace hmldata

datafile 'D:\oracle\oradata\DBF\hmldata.dbf'

size 100M AutoExtend On Next 10M Maxsize 2048M

extent management local

segment space management auto

--创建用户
create user hmltest identified by hmltest

default tablespace hmldata

temporary tablespace temp;

--为用户授权
-- Grant/Revoke role privileges
grant dba to HMLTEST;
-- Grant/Revoke system privileges
grant unlimited tablespace to HMLTEST;

热点排行