ORACLE数据库建表空间、建用户、分配用户表空间,分配用户权限

前端之家收集整理的这篇文章主要介绍了ORACLE数据库建表空间、建用户、分配用户表空间,分配用户权限前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。


1、建表空间

create tablespace 表空间名

datafile 'D:\app\Administrator\oradata\orcl\ABC.DBF'

size 100M autoextend on next 50M maxsizeunlimited


2、建用户

create user 用户名 identified by password

default tablespace 表空间名

temporary tablespace temp (默认表空间名)


3、给用户赋予权限
grant connect,resource,dba to 用户名


4、更改表空间名

alter tablespace 表空间名1 rename to 表空间新名


5、删除表空间

drop tablespace 表空间名 including contents and datafiles

原文链接:https://www.f2er.com/oracle/212024.html

猜你在找的Oracle相关文章