如何oracle 某一用户授予查询另一个用户某张表的权限,以及更新
发布时间:2020-12-12 13:20:17 所属栏目:百科 来源:网络整理
导读:create user dwtest identified by ST/G00100000161; grant connect to dwtest; grant select on stpt.dw_metro_production ?to dwtest; ? Ex: select?*?from?stpt.dw_metro_production?t ? 查看该表 表结构 select * from user_tab_columns where Table_Nam
create user dwtest identified by ST/G00100000161;
grant connect to dwtest;
grant select on stpt.dw_metro_production ?to dwtest;
?
Ex:
select?*?from?stpt.dw_metro_production?t ?
查看该表 表结构
select * from user_tab_columns where Table_Name=‘用户表‘;?
select * from all_tab_columns where Table_Name=‘用户表‘;? select * from dba_tab_columns where Table_Name=‘用户表‘;? ? sqlplus userA grant select on userA.the_table to userB; grant update (the_column) on the_table to userB; ? 1。查看表结构:desc表名 2。查看当前用户的表: select table_name from user_tables; 3.查看所有用户的表名: select table_name from all_tables; 4.查看所有表名(其中包括系统表) select table_name from dba_tables; 5.查看所有的表:? 再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- Flex RemoteObject(转载)
- 如何使用Ruby检查域是否存在?
- Flex air 调用本地文件,比如Excel,Word,PDF,Notepad,html
- c# – Thread.Sleep或Thread.Timer挂系统?
- 精益 React 学习指南 (Lean React)- 4.2 react patterns
- Fragment异常 Binary XML file line #8: Error inflating c
- c# – ViewModel中计时器的更好解决方案?
- Swift枚举具有相同值的多个案例
- c – DirectX渲染到纹理
- ruby-on-rails – 用于定义HTML样式的我的erb模板布局使用的