ITPub博客

首页 > 数据库 > Oracle > 用户密码和权限

用户密码和权限

原创 Oracle 作者:masheng0925 时间:2015-04-19 21:56:17 0 删除 编辑
修改密码
alter user tony identified by tony1  --将tony1设置为用户tony的密码
或者如下:
alter user tony identified by tony1 replace tony   --tony的旧密码为tony 新密码为tony1

--授予权限
grant select on tony_table1 to tony;
--撤销权限
revoke select on tony_table1 from tony;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/30201626/viewspace-1586276/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 使用sqlplus登录
请登录后发表评论 登录
全部评论

注册时间:2015-04-11

  • 博文量
    43
  • 访问量
    44267