使用plsql创建oracle表空间和用户
1、创建表空间。create tablespace xxxdatafile 'E:\app\Ad罪焐芡拂ministrator\virtual\oradata\orcl\xxx.dbf'size 10240M autoextend on next 500M maxsize unlimited;
2、创建用户。create user xxxidentified by "xxx"default tablespace xxxprofile DEFAULTACCOUNT UNLOCK;
3、为用户赋予表空间。alter user xxx default tablespace xxx;
4、为用户赋予权限。grant create session,create table,create view,create se鳎溻趄酃quence,unlimited tablespace to xxx;grant dba to xxx;
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
阅读量:96
阅读量:47
阅读量:91
阅读量:45
阅读量:36