输入banner图图片脚本导航/分类

oracle笔记1

--创建新用户名shsfdb
create user username
identified by password;
default tablespace tablespacename

--赋予用户名角色
grant dba to shsfdb

--查询用户
select * from dba_users

--删除用户
drop user shsfdb cascade

--修改忘记密码用户的密码
alter user username identified by newpassword;

--在命令窗格式下 以dba权限登录
sqlplus / as sysdba

show user; --在命令窗下展示当前登录用户

 

oracle笔记1

标签:sqlplus   用户   from   笔记   权限   cas   space   查询   sel