网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

oracle创建用户、表空间,并赋权

--创建表空间

成都创新互联是一家专业提供洪雅企业网站建设,专注与成都网站制作、网站设计、外贸网站建设html5、小程序制作等业务。10年已为洪雅众多企业、政府机构等服务。创新互联专业网站建设公司优惠进行中。

create tablespace test_tps   

datafile 'D:\app\Administrator\oradata\orcl\test_tps.dbf'   

size 1500M   

autoextend on next 5M;

--创建用户并制定表空间

create user test_tps identified by test_tps   

default tablespace test_tps;  

--赋权限

grant connect,resource to test_tps;  

grant create any sequence to test_tps;  

grant create any table to test_tps;  

grant delete any table to test_tps;  

grant insert any table to test_tps;  

grant select any table to test_tps;  

grant unlimited tablespace to test_tps;  

grant execute any procedure to test_tps;  

grant update any table to test_tps;  

grant create any view to test_tps;  

--赋权DBA

grant sysdba to test_tps;

--撤回dba权限

revoke dba from 用户

---------------------------------------------------------------

--授权命令:

--GRANT   {DBA|RESOURCE|CONNECT}   TO   {PUBLIC|user-list}  

--PUBLIC|user-list:全部或指定的用户。     

--三种权限居且仅居其一,事务处理过程中不要执行GRANT语句。


本文标题:oracle创建用户、表空间,并赋权
链接分享:http://bjjierui.cn/article/gepgsi.html

其他资讯