ITPub博客

首页 > 数据库 > Oracle > OCP-1Z0-051-59

OCP-1Z0-051-59

原创 Oracle 作者:Diy_os 时间:2015-05-10 01:44:58 0 删除 编辑

QUESTION NO: 59

Evaluate the following two queries:

Which statement is true regarding the above two queries?

A. Performance would improve in query 2 only if there are null values in the CUST_CREDIT_LIMIT column

B. Performance would degrade in query 2

C. There would be no change in performance

D. Performance would improve in query 2

Answer: C

Explanation:

Note: The IN operator is internally evaluated by the Oracle server as a set of OR conditions, such

as a=value1 or a=value2 or a=value3. Therefore, using the IN operator has no performance

benefits and is used only for logical simplicity.
可以通过执行计划看性能,这两者之间没有差异,一样的执行计划

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29876893/viewspace-1632460/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: OCP-1Z0-051-60
请登录后发表评论 登录
全部评论

注册时间:2014-12-11

  • 博文量
    159
  • 访问量
    1043876