创建用户
create user yanfang identified by abc-123;
赋予用户相应权限
grant create session to yanfang;
conn yanfang/abc-123@gabz
create user username identified by userpassword default tablespace tablespacename temporary tablespace temp quota 3m on users;
默认表空间 users 临时表空间 temp 这个表空间单独创建的数据对象不能超过3m
grant connect to software;
grant resource to software;
删除用户
drop user storep cascade;
(当这个用户拥有数据对象加cascade级联删除)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30633998/viewspace-1965908/
,如需转载,请注明出处,否则将追究法律责任。