• 创建数据库用户
--创建概要文件
create profile pro_tbspec 
limit
password_life_time 30;
--创建表空间
create tablespace tbspec 
datafile 'dbfile.dbf' size 10m;
--创建用户
create user myuser
identified by myuser
default tablespace tbspec
quota 5m on tbspec
temporary tablespace temp
profile pro_tbspec;
  •  修改用户密码
alter user myuser
identified by 1234;
  • 删除用户
--删除该用户下的所有对象及用户
drop user myuser cascade;
--删除用户
drop user myuser;

 

相关文章:

  • 2021-10-04
  • 2021-10-04
  • 2022-12-23
  • 2021-07-09
  • 2022-03-06
  • 2021-08-26
猜你喜欢
  • 2021-11-19
  • 2021-06-12
  • 2022-01-29
  • 2021-11-13
  • 2022-03-02
  • 2021-11-01
  • 2022-02-04
相关资源
相似解决方案