社区
Oracle 高级技术
帖子详情
oracle .10中怎么将某一列授权给其他schema ?
vecen
2009-08-13 09:54:51
如题。
在线等,tks
我写这个语句
grant select on test_p(t1,t1) to dog ;
系统报ora-00990 错误, missing or invalid privilege 。
授权整个表就不会报上述错
grant select on test_p/*(t1,t1) */ to mrp2 ;
...全文
405
6
打赏
收藏
oracle .10中怎么将某一列授权给其他schema ?
如题。 在线等,tks 我写这个语句 grant select on test_p(t1,t1) to dog ; 系统报ora-00990 错误, missing or invalid privilege 。 授权整个表就不会报上述错 grant select on test_p/*(t1,t1) */ to mrp2 ;
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
vecen
2009-08-13
打赏
举报
回复
已经OK了,我本意是授权update的,以为update和select是一样的语句,唉,搞了两个小时。
多谢。
小灰狼W
2009-08-13
打赏
举报
回复
支持
...楼上的点错了..
[Quote=引用 1 楼 csuxp2008 的回复:]
不能这样授权吧
你大可以对该表的那些列建立一个试图,然后把这个视图查询权限赋给用户
[/Quote]
小灰狼W
2009-08-13
打赏
举报
回复
支持
[Quote=引用楼主 vecen 的回复:]
如题。
在线等,tks
我写这个语句
grant select on test_p(t1,t1) to dog ;
系统报ora-00990 错误, missing or invalid privilege 。
授权整个表就不会报上述错
grant select on test_p/*(t1,t1) */ to mrp2 ;
[/Quote]
shiyiwan
2009-08-13
打赏
举报
回复
不好意思,写错了。
对某表的特定列,可以授权update和insert给其他schema
grant update(t1) on test_p to dog;
但是对于特定列的select和delete,是不能使用这种grant语句授权的。
shiyiwan
2009-08-13
打赏
举报
回复
grant select(t1) on test_p to dog;
csuxp2008
2009-08-13
打赏
举报
回复
不能这样授权吧
你大可以对该表的那些列建立一个试图,然后把这个视图查询权限赋给用户
wabacus制作的一个填写周报的小例子_
oracle
版
这是一个用wabacus3.4制作的小例子(本地环境wabacus3.4+tomcat7+jdk1.7+
oracle
10
g), 是用来让部门成员填写周报的, 内容包括了登录,填写周报,查看报告,权限管理,保存用户个性化信息(主题,列排序,列拖动,列选择)等等 ...
DBA常用命令
第一章:
Oracle
介绍 第二章:安装
oracle
软件 1.查看nls_lang select * from nls_session_parameters ...... 检测数据库 1.c:>sqlplus /nolog 2.sql>conn / as sysdba 3.sql>select open_mode from v$database;...
数据库
中
的
Schema
是什么?
参考:http://database.guide/what-is-a-database-
schema
/ 在数据库
中
,
schema
(发音 “skee-muh” 或者“skee-mah”,...模式
中
包含了
schema
对象,可以是表(table)、列(column)、数据类型(data type)、视图(view)...
oracle
grant normal,
oracle
grant update a column on table(给
一列
授权
update)
oracle
10
允许 基于表
中
某
一列
单独
授权
update 权限anbob@ORCL> conn systemEnter password:Connected.system@ORCL> create user test identified by test;User created.system@ORCL> grant create ...
pg mysql
oracle
中
的
schema
pg mysql
oracle
中
的
schema
Oracle 高级技术
3,491
社区成员
18,714
社区内容
发帖
与我相关
我的任务
Oracle 高级技术
Oracle 高级技术相关讨论专区
复制链接
扫一扫
分享
社区描述
Oracle 高级技术相关讨论专区
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章