MySQL, Oracle, Linux, 软件架构及大数据技术知识分享平台

网站首页 > 数据库 / 正文

Oracle创建可读用户

2024-11-26 17:41 huorong 数据库 6 ℃ 0 评论


--创建用户testread

  1. create user testread identified by 123456;

--授权

  1. grant connect to testread;
  2. grant create synonym to testread;
  3. grant create session to testread;

--赋权

  1. grant select on user1.table1 to testread;
  2. create or replace synonym testread.table1 for user1.table1;

Tags:oracle 表 用户

控制面板
您好,欢迎到访网站!
  查看权限
网站分类
最新留言