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

oracle 创造表空间 给oracle用户授权

2012-09-02 
oracle 创建表空间 给oracle用户授权//创建表空间create tablespace 表空间名称 datafile F:\oracle\prod

oracle 创建表空间 给oracle用户授权
//创建表空间
create tablespace 表空间名称 datafile 'F:\oracle\product\10.2.0\oradata\orcl\表空间名称.dbf' size 300M
autoextend on next 10M maxsize unlimited logging extent management local autoallocate segment space management auto;

//给用户授权
grant select on sys.dba_pending_transactions to 数据库用户名;
grant select on sys.pending_trans$ to 数据库用户名;
grant select on sys.dba_2pc_pending to 数据库用户名;
grant execute on sys.dbms_system to 数据库用户名;

热点排行