oracle创建表空间、用户
发布时间:2020-12-12 16:20:41 所属栏目:百科 来源:网络整理
导读:--1:创建临时表空间 create temporary tablespace spa_authsys_temp tempfile 'F:soft64ora11goradataorclmyauthsys_temp.dbf' size 50m autoextend on next 50m maxsize 1024m extent management local; --2:创建数据表空间 create tablespace spa_a
--1:创建临时表空间 create temporary tablespace spa_authsys_temp tempfile 'F:soft64ora11goradataorclmyauthsys_temp.dbf' size 50m autoextend on next 50m maxsize 1024m extent management local; --2:创建数据表空间 create tablespace spa_authsys_data logging datafile 'F:soft64ora11goradataorclmyauthsys_data.dbf' size 50m autoextend on next 50m maxsize 1024m extent management local; --第3步:创建用户并指定表空间 create user authsys identified by authsys default tablespace spa_authsys_data temporary tablespace spa_authsys_temp; --第4步:给用户授予权限 grant connect,resource to authsys; grant create any sequence to authsys; grant create any table to authsys; grant delete any table to authsys; grant insert any table to authsys; grant select any table to authsys; grant unlimited tablespace to authsys; grant execute any procedure to authsys; grant update any table to authsys; grant create any view to authsys; (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |