ocp-277

QUESTION NO: 277
A user named Arren is executing this query:
select table_name, operation, undo_sql from flashback_transaction_query t,
(select versions_xid as xid from employees versions between scn minvalue and maxvalue
where employee_id = 123) e
where t.xid = e.xid;
When the query runs, he receives an ORA-01031: insufficient privileges error. Since the user owns the
employees table, you know that it is not the problem. Which of the following SQL statements will correct
this problem?
A. GRANT SELECT ANY TRANSACTION TO ARREN;
B. GRANT SELECT ON FLASHBACK_TRANSACTION_QUERY TO ARREN;
C. GRANT SELECT_ANY_TRANSACTION TO ARREN;
D. GRANT FLASHBACK TO ARREN;
E. GRANT SELECT ANY VIEW TO ARREN;
Answer: A
The user needs to have the SELECT ANY TRANSACTION privilege granted to him. All of the other
choices are incorrect.


运行查询时,他收到ORA-01031:权限不够的错误。由于用户拥有员工表,你知道这不是问
题。下面的哪条SQL语句将纠正这个问题?

A. 授予查询任何事务的权限给阿伦

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值