--创建表空间
create tablespace tablespace_name datafile 'D:\app\Administrator\oradata\orcl\tablespace_name.dbf' size 100M autoextend on next 10M maxsize unlimited extent
management local;
--创建用户
create user user_name identified by user_pwd default tablespace tablespace_name Temporary tablespace
temp;
--给用户授权
grant connect,resource,dba to user_name;
--修改用户的密码
alter user user_name identified by pwd;
--删除表空间
drop tablespace 表空间 including contents and datafiles cascade constraints;
--删除用户
drop user 用户名 cascade;
本文介绍了如何在Oracle数据库中创建和管理表空间、用户及其权限,并提供了修改用户密码及删除表空间和用户的具体步骤。

被折叠的 条评论
为什么被折叠?



