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
第1题:
下列关于动态SQL、静态SQL的叙述中,不正确的是_________。
A.SQL语句在程序中已经按要求写好,体现为一个可执行的SQL语句,把一些参数通过变量传送给SQL语句即可执行,这是静态SQL;
B.SQL语句在程序中动态构造,体现为一个字符串,然后再交给DBMS执行,执行时可以传递变量,这是动态SQL;
C.动态SQL语句的执行方式只能是Prepare-Execute-Using方式,即预编译-传递参量并执行;
D.动态SQL 语句是指在程序编译时尚未确定,需要在程序执行过程中临时生成的SQL语句;
第2题:
43、Mybatis动态sql标签有哪些?
A.trim
B.foreach
C.than
D.set
第3题:
删除数据库Test的正确SQL语句是()
A.Drop DataBase Test
B.Delete DataBase Test
C.Alter DataBase Test
D.Delete From DataBase Test
第4题:
8、下列关于动态SQL、静态SQL的叙述中,不正确的是_________。
A.SQL语句在程序中已经按要求写好,体现为一个可执行的SQL语句,把一些参数通过变量传送给SQL语句即可执行,这是静态SQL;
B.SQL语句在程序中动态构造,体现为一个字符串,然后再交给DBMS执行,执行时可以传递变量,这是动态SQL;
C.动态SQL语句的执行方式只能是Prepare-Execute-Using方式,即预编译-传递参量并执行;
D.动态SQL 语句是指在程序编译时尚未确定,需要在程序执行过程中临时生成的SQL语句;
第5题:
SQL语句中描述条件的子句是()。
A.WHERE
B.FROM
C.VALUES
D.SET
第6题:
5、在MyBaits映射文件中使用<set>和<if>元素组合进行update语句动态SQL组装时,如果<set>元素内包含的内容都为空,则会出现SQL语法错误。