You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set?()A.Every SQL statement in the STS is cons

题目

You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test database. Which two statements are true regarding the activities performed during the test execution of SQLs in a SQL Tuning Set?()

A.Every SQL statement in the STS is considered only once for execution

B.The SQL statements in the STS are executed concurrently to produce the execution plan and execution statistics

C.The execution plan and execution statistics are computed for each SQL statement in the STS

D.The effects of DDL and DML are considered to produce the execution plan and execution statistics


相似考题
更多“You want to analyze a SQL Tuning Set (STS) using SQL Performance Analyzer in a test databa ”相关问题
  • 第1题:

    下列关于动态SQL、静态SQL的叙述中,不正确的是_________。

    A.SQL语句在程序中已经按要求写好,体现为一个可执行的SQL语句,把一些参数通过变量传送给SQL语句即可执行,这是静态SQL;

    B.SQL语句在程序中动态构造,体现为一个字符串,然后再交给DBMS执行,执行时可以传递变量,这是动态SQL;

    C.动态SQL语句的执行方式只能是Prepare-Execute-Using方式,即预编译-传递参量并执行;

    D.动态SQL 语句是指在程序编译时尚未确定,需要在程序执行过程中临时生成的SQL语句;


    动态SQL语句的执行方式只能是Prepare-Execute-Using方式,即预编译-传递参量并执行

  • 第2题:

    43、Mybatis动态sql标签有哪些?

    A.trim

    B.foreach

    C.than

    D.set


    ID

  • 第3题:

    删除数据库Test的正确SQL语句是()

    A.Drop DataBase Test

    B.Delete DataBase Test

    C.Alter DataBase Test

    D.Delete From DataBase Test


    这是一条错误的SQL语句

  • 第4题:

    8、下列关于动态SQL、静态SQL的叙述中,不正确的是_________。

    A.SQL语句在程序中已经按要求写好,体现为一个可执行的SQL语句,把一些参数通过变量传送给SQL语句即可执行,这是静态SQL;

    B.SQL语句在程序中动态构造,体现为一个字符串,然后再交给DBMS执行,执行时可以传递变量,这是动态SQL;

    C.动态SQL语句的执行方式只能是Prepare-Execute-Using方式,即预编译-传递参量并执行;

    D.动态SQL 语句是指在程序编译时尚未确定,需要在程序执行过程中临时生成的SQL语句;


    动态SQL语句的执行方式只能是Prepare-Execute-Using方式,即预编译-传递参量并执行

  • 第5题:

    SQL语句中描述条件的子句是()。

    A.WHERE

    B.FROM

    C.VALUES

    D.SET


    Where

  • 第6题:

    5、在MyBaits映射文件中使用<set>和<if>元素组合进行update语句动态SQL组装时,如果<set>元素内包含的内容都为空,则会出现SQL语法错误。


    正确解析:映射文件的作用:1.元素用来映射查询语句,它可以帮助我们从数据库中读取出数据,并组装数据给业务开发人员2.元素用于映射插入语句,在执行完元素中定义的SQL语句后,会返回一个表示插入记录数的整数3.和元素的使用比较简单,它们的属性配置也基本相同 4.元素的作用就是定义可重用的SQL代码片段,然后在其他语句中引用这一代码片段。