创建Oracle用户

来源:互联网 发布:java实现单链表反转 编辑:程序博客网 时间:2024/05/01 14:31

--创建临时表空间
create temporary tablespace tps_temp
tempfile 'D:/oracle/oradata/myJob/tps_temp01.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;

 

--创建表空间

create tablespace tps
logging
datafile 'D:/oracle/oradata/myJob/tps01.dbf'
size 32m
autoextend on
next 32m maxsize 2048m
extent management local;

 

--创建用户
create user jiy identified by jiy
default tablespace tps
temporary tablespace tps_temp;

 

--给用户授予权限
GRANT CREATE USER,DROP USER,ALTER USER ,CREATE ANY VIEW ,
DROP ANY VIEW,EXP_FULL_DATABASE,IMP_FULL_DATABASE,
DBA,CONNECT,RESOURCE,CREATE SESSION TO jiy

原创粉丝点击