
--创建表空间
create tablespace ssm_test
datafile 'D:\oracle19c\oradata\ssm_test\ssm_test.dbf'
size 100m
autoextend on
next 10m;
--删除表空间
drop tablespace ssm_test.dbf;
--创建用户
create user wzh
identified by wzh
default tablespace ssm_test;
--给用户授权
--oracle数据库中常用角色
connect --连接角色,基本角色
resource --开发者角色
dba --超级管理员角色
--用户授权
grant dba to wzh;