NC57创建用户、表空间、授权sql语句实例
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
NC57创建表空间和用户、授权实例
创建表空间6个
create tablespace nnc_index01 datafile'E:\app\Administrator\oradata\NC57\nnc_index01.dbf' size 500m autoextend on next 50m extent management local uniform size 128k; create tablespace nnc_index02 datafile'E:\app\Administrator\oradata\NC57\nnc_index02.dbf' size 500m autoextend on next 50m extent management local uniform size 128k; create tablespace nnc_index03 datafile'E:\app\Administrator\oradata\NC57\nnc_index03.dbf' size 500m autoextend on next 50m extent management local uniform size 128k; create tablespace nnc_data01 datafile'E:\app\Administrator\oradata\NC57\nnc_data01.dbf' size 500m autoextend on next 50m extent management local uniform size 256k; create tablespace nnc_data02 datafile'E:\app\Administrator\oradata\NC57\nnc_data02.dbf' size 500m autoextend on next 50m extent management local uniform size 256k; create tablespace nnc_data03 datafile'E:\app\Administrator\oradata\NC57\nnc_data03.dbf' size 500m autoextend on next 50m extent management local uniform size 256k;
Hale Waihona Puke Baidu
创建用户及授权
create user nc57 identified by nc57 default tablespace nnc_data01 temporary tablespace temp grant connect,dba to nc57;
删除表空间
drop tablespace csmbus including contents cascade constraints;
创建表空间6个
create tablespace nnc_index01 datafile'E:\app\Administrator\oradata\NC57\nnc_index01.dbf' size 500m autoextend on next 50m extent management local uniform size 128k; create tablespace nnc_index02 datafile'E:\app\Administrator\oradata\NC57\nnc_index02.dbf' size 500m autoextend on next 50m extent management local uniform size 128k; create tablespace nnc_index03 datafile'E:\app\Administrator\oradata\NC57\nnc_index03.dbf' size 500m autoextend on next 50m extent management local uniform size 128k; create tablespace nnc_data01 datafile'E:\app\Administrator\oradata\NC57\nnc_data01.dbf' size 500m autoextend on next 50m extent management local uniform size 256k; create tablespace nnc_data02 datafile'E:\app\Administrator\oradata\NC57\nnc_data02.dbf' size 500m autoextend on next 50m extent management local uniform size 256k; create tablespace nnc_data03 datafile'E:\app\Administrator\oradata\NC57\nnc_data03.dbf' size 500m autoextend on next 50m extent management local uniform size 256k;
Hale Waihona Puke Baidu
创建用户及授权
create user nc57 identified by nc57 default tablespace nnc_data01 temporary tablespace temp grant connect,dba to nc57;
删除表空间
drop tablespace csmbus including contents cascade constraints;