设为首页收藏本站language 语言切换
查看: 3372|回复: 5
收起左侧

[题库] Oracle OCP题库原创解析(54)

[复制链接]
发表于 2012-3-16 15:47:23 | 显示全部楼层 |阅读模式
You execute the following command to audit the database activities:
SQL> AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL;
What is the effect of this command?
A) One audit record is created for the whole session if user SCOTT successfully drops one or more tables in his session.
B) One audit record is created for every session when any user successfully drops a table owned by SCOTT.
C) One audit record is created for each successful DROP TABLE command executed by any user to drop tables owned by SCOTT.
D) One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to other users in his session.
E) One audit record is created for each successful DROP TABLE command executed in the session of SCOTT.

Answer: A
BY SESSION: 表示同一个用户同一个会话中相同类型的SQL语句只审计一次。
WHENEVER SUCCESSFUL:只有当SQL语句执行成功时才审计。

发表于 2012-3-16 15:50:27 | 显示全部楼层
{:soso_e129:}
沙发 2012-3-16 15:50:27 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-6-9 06:12:36 | 显示全部楼层
顶你一下,好贴要顶!
板凳 2012-6-9 06:12:36 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-7-17 16:38:06 | 显示全部楼层
地板 2012-7-17 16:38:06 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-8-10 14:00:18 | 显示全部楼层
为了学习,努力赚钱。

再辛苦也值得。努力,加油

5# 2012-8-10 14:00:18 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-9-20 15:24:14 | 显示全部楼层
路过!!!
帮顶……
6# 2012-9-20 15:24:14 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-13 17:32 , Processed in 0.109213 second(s), 21 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表