单选题Which is an example of a dynamic SELECT statement? ()A A query whose object names change during its execution. B A query whose object names are not known until run time. C A query whose bind variables values change during execution. D A query whose bin

题目
单选题
Which is an example of a dynamic SELECT statement? ()
A

A query whose object names change during its execution. 

B

A query whose object names are not known until run time. 

C

A query whose bind variables values change during execution. 

D

A query whose bind variable values are not known until run time.


相似考题
更多“单选题Which is an example of a dynamic SELECT statement? ()A A query whose object names change during its execution. B A query whose object names are not known until run time. C A query whose bind variables values change during execution. D A query whose bin”相关问题
  • 第1题:

    Which object may be used during query optimization to improve the performance for a subset of SELECT queries?()

    • A、MQT
    • B、Trigger
    • C、Read Only Cursor
    • D、Stored Procedure

    正确答案:A

  • 第2题:

    You are creating the DEPT_SAL data block from the PAYHIST form. Users should be able to enter a valid department ID number, which will then display the employee salary information for that department. This data block could potentially retrieve a large number of records. Since users will probably only view a small number of these records, only 10 records should be fetched at one time. How would you create the data block?()

    • A、Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property. 
    • B、Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 
    • C、Choose Tools -> Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables. 
    • D、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property. 
    • E、Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.

    正确答案:E

  • 第3题:

    Which two statements are true regarding the ORDER BY clause? ()

    • A、The sort is in ascending by order by default.
    • B、The sort is in descending order by default.
    • C、The ORDER BY clause must precede the WHERE clause.
    • D、The ORDER BY clause is executed on the client side.
    • E、The ORDER BY clause comes last in the SELECT statement.
    • F、The ORDER BY clause is executed first in the query execution.

    正确答案:A,E

  • 第4题:

    The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this?()

    • A、GRANT select ON dept TO ALL_ USER;
    • B、GRANT select ON dept TO ALL;
    • C、GRANT QUERY ON dept TO ALL_USERS
    • D、GRANT select ON dept TO PUBLIC;

    正确答案:D

  • 第5题:

    Which two statements are true regarding the ORDER BY clause? ()

    • A、It is executed first in the query execution 
    • B、It must be the last clause in the SELECT statement 
    • C、It cannot be used in a SELECT statement containing a HAVING clause
    • D、You cannot specify a column name followed by an expression in this clause 
    • E、You can specify a combination of numeric positions and column names in this clause

    正确答案:B,E

  • 第6题:

    Which is an example of a dynamic SELECT statement? ()

    • A、A query whose object names change during its execution. 
    • B、A query whose object names are not known until run time. 
    • C、A query whose bind variables values change during execution. 
    • D、A query whose bind variable values are not known until run time.

    正确答案:B

  • 第7题:

    单选题
    You created a tabular report for the sales department to display each customer and the sales person assign to the customer. The data is sorted by customer using the order by clause in this query. This is department manager asks you to alter the report so that data is sorted by sales person rather than by customer. What is the best way to make the needed change?()
    A

    Recreate the query and default the layout. 

    B

    Alter the query, default the layout and redo the boiler plates. 

    C

    Query and manually change the layout to save the boiler plate. 

    D

    Alter the query and make no further change.


    正确答案: D
    解析: 暂无解析

  • 第8题:

    单选题
    The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the fund code entered. The value needed to generate this summary data are stored in multiple tables. How would you define the data source for this data block without having the DBA create a database object? ()
    A

    Choose Tools -> Data Block Wizard, select View as the data source type, and base the block on the columns from the bales. 

    B

    Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 

    C

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually and alter the Query Data Source Columns and Query Data Source Arguments properties to enter the SELECT statement. 

    D

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Table', and enter the SELECT statement in the Query Data Source Name property. 

    E

    Choose Tools -> Data Block Wizard, select Stored Procedure as the data source type, and base the block on the columns the tables. 

    F

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually. Alter the Query Data Source Type to 'FROM' clause query', and enter the SELECT statement in the Query Data Source Name property.


    正确答案: E
    解析: 暂无解析

  • 第9题:

    多选题
    Which three statements about dynamic filtering are true? ()
    A

    Dynamic filtering creates a query statement.

    B

    Dynamic filtering has an option to save query.

    C

    Dynamic filtering can select any log field to filter.

    D

    Dynamic filtering permanently removes other log entries.

    E

    Dynamic filtering redraws the log when you select a variable link.


    正确答案: D,A
    解析: 暂无解析

  • 第10题:

    单选题
    You are creating the DEPT_SAL data block from the PAYHIST form. Users should be able to enter a valid department ID number, which will then display the employee salary information for that department. This data block could potentially retrieve a large number of records. Since users will probably only view a small number of these records, only 10 records should be fetched at one time. How would you create the data block?()
    A

    Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property. 

    B

    Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 

    C

    Choose Tools -> Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables. 

    D

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property. 

    E

    Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.


    正确答案: B
    解析: 暂无解析

  • 第11题:

    单选题
    EXHIBIT, Emp Table Exhibit A Exhibit B Examine the data from the EMP table. Evaluate this SQL statement: SELECT * FROM emp WHERE emp _ id = 3); WHERE commission = (SELECT commission FROM emp What is the result when the query is executed?()
    A

    Exhibit A

    B

    Exhibit B 

    C

    The query returns no rows 

    D

    The query fails because the outer query is retrieving more than one column

    E

    The query fails because both the inner and outer queries are retrieving data from the same table.


    正确答案: C
    解析: 暂无解析

  • 第12题:

    单选题
    Which object may be used during query optimization to improve the performance for a subset of SELECT queries?()
    A

    MQT

    B

    Trigger

    C

    Read Only Cursor

    D

    Stored Procedure


    正确答案: A
    解析: 暂无解析

  • 第13题:

    Which statement is true regarding the INTERSECT operator?()

    • A、It ignores NULL values 
    • B、Reversing the order of the intersected tables alters the result 
    • C、The names of columns in all SELECT statements must be identical 
    • D、The number of columns and data types must be identical for all SELECT statements in the query 

    正确答案:D

  • 第14题:

    Which three statements about dynamic filtering are true? ()

    • A、Dynamic filtering creates a query statement.
    • B、Dynamic filtering has an option to save query.
    • C、Dynamic filtering can select any log field to filter.
    • D、Dynamic filtering permanently removes other log entries.
    • E、Dynamic filtering redraws the log when you select a variable link.

    正确答案:A,B,E

  • 第15题:

    A general purpose MySQL instance is configured with the following options: —log-slow-queries —long-query-time=,0001 —log-slow-admin-queries —general-log —log-bin —binlog-format=STATEMENT —innodb-flush-log-at-trx-commit=1 Which three statements are true()。

    • A、The General Query Log records more data than the Binary Log
    • B、The binary Log records more data than the General Query Log
    • C、The Slow Query Log records more data than the General Query Log
    • D、The General Query Log records more data than the Slow Query Log
    • E、The Slow Query Log records more data than the Binary Log
    • F、The Binary Log records more data than the Slow Query Log

    正确答案:A,D,E

  • 第16题:

    The accounting manager wants you to create a form that when queried will display a calculated total of year-to-date actual expenditures for the fund code entered. The value needed to generate this summary data are stored in multiple tables. How would you define the data source for this data block without having the DBA create a database object? ()

    • A、Choose Tools -> Data Block Wizard, select View as the data source type, and base the block on the columns from the bales. 
    • B、Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 
    • C、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually and alter the Query Data Source Columns and Query Data Source Arguments properties to enter the SELECT statement. 
    • D、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Table', and enter the SELECT statement in the Query Data Source Name property. 
    • E、Choose Tools -> Data Block Wizard, select Stored Procedure as the data source type, and base the block on the columns the tables. 
    • F、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually. Alter the Query Data Source Type to 'FROM' clause query', and enter the SELECT statement in the Query Data Source Name property.

    正确答案:F

  • 第17题:

    Examine the parameters for your database instance: Which three statements are true about the process of automatic optimization by using cardinality feedback?()

    • A、The optimizer automatically changes a plan during subsequent execution of a SQL statement if there is a huge difference in optimizer estimates and execution statistics.
    • B、The optimizer can re optimize a query only once using cardinality feedback.
    • C、The optimizer enables monitoring for cardinality feedback after the first execution of a query.
    • D、The optimizer does not monitor cardinality feedback if dynamic sampling and multicolumn statistics are enabled.
    • E、After the optimizer identifies a query as a re-optimization candidate, statistics collected by the collectors are submitted to the optimizer.

    正确答案:A,C,D

  • 第18题:

    单选题
    When does Oracle9i flag an index as being used in the V$OBJECT_USAGE view?()
    A

    During a query’s parse time only. 

    B

    During a query’s execution time only. 

    C

    During any kind of DML statement execution. 

    D

    During the execution of an INSERT statement only.


    正确答案: B
    解析: 暂无解析

  • 第19题:

    单选题
    The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this?()
    A

    GRANT select ON dept TO ALL_ USER;

    B

    GRANT select ON dept TO ALL;

    C

    GRANT QUERY ON dept TO ALL_USERS

    D

    GRANT select ON dept TO PUBLIC;


    正确答案: D
    解析: 暂无解析

  • 第20题:

    单选题
    You are creating the SAL_INFO data block on the EMP_QUERY form. The SALARY field should only be populated if the logged-on user is a manager. Since this query could potentially return a large amount of records, you have created a stored procedure which uses a ref cursor on which to base the data block. How would you create the data block?()
    A

    Click the Data Blocks node in the Object Navigator and click the create button. Choose to build the data block manually. Enter the procedure name in the Query Data Source Columns property and the procedure code in the Query Data Source Arguments property. 

    B

    Choose Tools -> Data Block Wizard, select Table as the data source type, and base the data block on the columns included in the procedure. 

    C

    Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'Ref cursor', and enter the name of the procedure in the Query Data Source Name property. 

    D

    Select the Data Blocks node in the Object Navigator and click the Create button. Alter the Query Data Source Name, Query Data Source Columns, and Query Data Source Arguments properties to create a stored procedure that uses a ref cursor. 

    E

    Launch the Data Block Wizard, select Stored Procedures as the data source type, and base the block on the procedure.


    正确答案: A
    解析: 暂无解析

  • 第21题:

    多选题
    Which two statements are true regarding the ORDER BY clause? ()
    A

    The sort is in ascending by order by default.

    B

    The sort is in descending order by default.

    C

    The ORDER BY clause must precede the WHERE clause.

    D

    The ORDER BY clause is executed on the client side.

    E

    The ORDER BY clause comes last in the SELECT statement.

    F

    The ORDER BY clause is executed first in the query execution.


    正确答案: A,D
    解析: 暂无解析

  • 第22题:

    单选题
    Which statement is true regarding the INTERSECT operator?()
    A

    It ignores NULL values 

    B

    Reversing the order of the intersected tables alters the result 

    C

    The names of columns in all SELECT statements must be identical 

    D

    The number of columns and data types must be identical for all SELECT statements in the query 


    正确答案: D
    解析: 暂无解析

  • 第23题:

    多选题
    Which two statements are true regarding the ORDER BY clause? ()
    A

    It is executed first in the query execution

    B

    It must be the last clause in the SELECT statement

    C

    It cannot be used in a SELECT statement containing a HAVING clause

    D

    You cannot specify a column name followed by an expression in this clause

    E

    You can specify a combination of numeric positions and column names in this clause


    正确答案: E,C
    解析: 暂无解析