Oracle 表空间的创建
2014-05-07 11:35
288 查看
-表空间
CREATE TABLESPACE pms
DATAFILE 'D:\oracle\product_2\tablespace\pms' size 100M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
--索引表空间
CREATE TABLESPACE pms_Index
DATAFILE 'D:\oracle\product_2\tablespace\pms_index' size 100M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
--2.建用户
create user pms identified by pms
default tablespace pms;
--3.赋权
grant connect,resource to pms;
grant create any sequence to pms;
grant create any table to pms;
grant delete any table to pms;
grant insert any table to pms;
grant select any table to pms;
grant unlimited tablespace to pms;
grant execute any procedure to pms;
grant update any table to pms;
grant create any view to pms;
CREATE TABLESPACE pms
DATAFILE 'D:\oracle\product_2\tablespace\pms' size 100M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
--索引表空间
CREATE TABLESPACE pms_Index
DATAFILE 'D:\oracle\product_2\tablespace\pms_index' size 100M
EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO;
--2.建用户
create user pms identified by pms
default tablespace pms;
--3.赋权
grant connect,resource to pms;
grant create any sequence to pms;
grant create any table to pms;
grant delete any table to pms;
grant insert any table to pms;
grant select any table to pms;
grant unlimited tablespace to pms;
grant execute any procedure to pms;
grant update any table to pms;
grant create any view to pms;
相关文章推荐
- Oracle创建删除用户、角色、表空间、导入导出
- ORACLE第一步- 创建表空间、用户、授权以及简单查询
- Oracle 怎么创建表空间
- oracle 创建用户,表空间,给权限,设置表空间自动增长
- Oracle创建用户、表空间、导入导出命令
- Oracle创建表空间、创建用户以及授权、查看权限
- oracle 创建表空间等
- ORACLE创建表空间、创建用户、导入、导出等
- oracle创建表空间,用户及授权
- Oracle创建表空间、创建用户以及授权、查看权限
- Oracle笔记 五、创建表、约束、视图、索引、序列、同义词、表空间
- Oracle创建表空间bug1
- Oracle创建用户、表空间、导入导出、...命令
- 【Oracle】创建用户,临时表空间,表空间,授权
- oracle sql语句 创建表空间、数据库
- 命令行中使用oracle命令创建数据库和表空间
- oracle 创建表空间、用户
- Oracle创建用户,创建表空间,将空间分配给用户,给用户授权
- oracle创建表空间,创建用户
- oracle创建表空间,创建用户