使用plsql创建oracle表空间和用户

2026-02-14 01:41:10

1、创建蹲矿表空间。

create tablespace xxx

datafile 'E:\app\Administrator\virtual\oradata\orcl\xxx.dbf'

 牢仗仗

size 10240M autoextend on next 500M maxsize unlimited;

使用plsql创建oracle表空间和用户

2、创建用户。

create user xxx

identified by "xxx"

default tablespace xxx

profile DEFAULT

ACCOUNT UNLOCK;

使用plsql创建oracle表空间和用户

3、为用户赋予诉宙表空间。alter user xxx default tablespace xxx;

使用plsql创建oracle表空间和用户

4、为用户赋予权限。

grant create session,create table,create view,

create sequence,unlimited tablespace to xxx;

grant dba to xxx;

使用plsql创建oracle表空间和用户

猜你喜欢