当前位置:Gxlcms > 数据库问题 > oracle笔记1

oracle笔记1

时间:2021-07-01 10:21:17 帮助过:26人阅读

--创建新用户名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   

人气教程排行