Oracle中的一些方法

解除被锁的用户:
alter user scott(用户名) account unlock;
显示当前用户:
show user;
修改用户的密码:
alter user scott identified by tiger;
创建用户:
create user zhangsan identified by zhangsan
给用户授权
grant connect,resource to zhangsan
收回用户权限
revoke select on emp from zhangsan

猜你喜欢

转载自roway.iteye.com/blog/1722893