找文章 / 找答案
永洪社区YVP
  • 发帖数2519
  • 粉丝4

https://club.yonghongtech.com/member.php?mod=register&fromUserId=34135

精选问答 更多内容

[Oracle独家资料] 【oracle】Oracle删除、创建、赋权用户实战

防超白银四 显示全部楼层 发表于 2023-4-18 10:19:21 |阅读模式 打印 上一主题 下一主题
---登录服务器删除用户----
sqlplus sys/oracle as sysdba
drop user 用户名 CASCADE;

---创建用户:
-- Create the user
create user 用户名 identified by 密码;
赋权DBA权限给用户
GRANT DBA TO 用户名;
赋权给用户
grant create any table to 用户名;
grant select any table to 用户名;
grant unlimited tablespace to 用户名;
GRANT EXECUTE ANY PROCEDURE TO 用户名;
grant resource,connect to 用户名;
grant create session to 用户名;
grant create table to 用户名;
grant create view to 用户名;
grat create trigger to 用户名;
grant create procedure to 用户名;
grant create sequence to 用户名;
grant alter any table to 用户名;
grant alter any trigger to 用户名;
grant alter any procedure to 用户名;
grant alter any sequence to 用户名;
grant drop any table to 用户名;
grant drop any view to 用户名;
grant drop any trigger to 用户名;
grant drop any procedure to 用户名;
grant drop any sequence to 用户名;
grant select any table to 用户名;
grant insert any table to 用户名;
grant update any table to 用户名;
grant delete any table to 用户名;

回复

使用道具 举报

精彩评论2

yao3979青铜四 显示全部楼层 发表于 2023-4-22 09:40:27
学习
回复

使用道具 举报

yao3979青铜四 显示全部楼层 发表于 2023-4-24 08:41:15
学习
回复

使用道具 举报

高级模式
您需要登录后才可以回帖 登录 | 免费注册

  • 官方微信

    欢迎关注永洪服务号!收费为0,价值无限

    扫码关注
  • 新浪微博

    让每位用户轻松挖掘数据价值!

    访问新浪微博
  • 智能客服
50W

会员等你来哦

Copyright   ©2012-2024  北京永洪商智科技有限公司  (京ICP备12050607) 京公网安备110110802011451号 |《永洪社区协议》
返回顶部