移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

计算机考试 | IBM认证考试

模式切换

0 0 0
我的错题 我的收藏 学习笔记

章节目录

单选题 Application A holds an Update lock on a single row and application B is trying to read that row. If both applications are using isolation level UR, which of the following will occur?()

A

Application B will read the row.

B

Applications A and B will cause a deadlock situation.

C

Application B will wait until application A releases the Update lock.

D

Application A will be terminated so that application B can read the row.

单选题 Which of the following is a characteristic of a schema?()

A

Foreign key references cannot cross schema boundaries.

B

A DB2 user must be created before a schema with the same name can be created.

C

If no schema is specified when an object is created, the default schema PUBLIC is used.

D

A schema enables the creation of multiple objects in a database without encountering namespace collisions.

单选题 Which of the following best describes the lock protection provided by DB2 for the current row of a cursor?()

A

The cursor is only protected from updates and deletes by concurrent applications.

B

The row is only protected from positioned updates and deletes that reference another cursor of the same application.

C

The cursor is protected from positioned updates and deletes that reference another cursor of a different application.

D

The row is protected from updates and deletes by the current application and from positioned updates and deletes that reference another cursor of the same application.

单选题 An application needs a table for each connection that tracks the ID and Name of all items previously ordered and committed within the connection. The table also needs to be cleaned up and automatically removed each time a connection is ended. Assuming the ITEMS table was created with the following SQL statement: CREATE TABLE items item_no INT, item_name CHAR(5), item_qty INT) Which of the following SQL statements will provide the table definition that meets the specified requirements?()

A

DECLARE GLOBAL TEMPORARY TABLE tracker AS (SELECT item_no, item_name FROM items) WITH NO DATA ON COMMIT PRESERVE ROWS ON DISCONNECT DROP TABLE

B

DECLARE GLOBAL TEMPORARY TABLE tracker AS (SELECT item_no, item_name FROM items) WITH NO DATA ON COMMIT PRESERVE ROWS

C

CREATE TABLE systmp.tracker AS (SELECT item_num, item_name FROM items) WITH NO DATA ON COMMIT PRESERVE ROWS

D

CREATE TABLE tracker AS (SELECT item_num, item_name FROM items) ON COMMIT PRESERVE ROWS ON DISCONNECT DROP TABLE

单选题 Which of the following is a characteristic of a sequence?()

A

A sequence will never generate duplicate values

B

The MAXVALUE of a sequence can be equal to the MINVALUE

C

It is not possible to create a sequence that generates a constant since the INCREMENT value must be greater than zero

D

When a sequence cycles back to either the MAXVALUE or MINVALUE, it will always be equal to the specified value of either of these two boundaries

单选题 Which of the following is the lowest cost DB2 product that can be legally installed on an AIX server?()

A

DB2 Express Edition

B

DB2 Personal Edition

C

DB2 Workgroup Server Edition

D

DB2 Enterprise Server Edition

单选题 Given the following table definitions: EMPLOYEE ID NAME DEPTID 01Smith 10 02Bossy 20 03 20 Peterson 04Goss 30 05Pape 40 06Avery 50 07O'Neal 60 08Carter 50 DEPARTMENT ID DEPTNAME 05 Hardware 10 Kitchen 20 Shoes 30 Toys 40 Electronics 50 Automotive and the following query: SELECT e.id, d.deptname FROM employee e, department d WHERE e.deptid = d.id AND e.id > 4 Which of the following queries will produce the same result set as the query above?()

A

SELECT e.id, d.deptname FROM employee e, department d WHERE e.id > 4

B

SELECT e.id, d.deptname FROM employee e INNER JOIN department d ON e.deptid = d.id WHERE e.id > 4

C

SELECT e.id, d.deptname FROM employee e FULL OUTER JOIN department d ON e.id = d.id WHERE e.id > 4

D

SELECT e.id, d.deptname FROM employee e LEFT OUTER JOIN department d ON e.deptid = d.id WHERE e.id > 4 UNION ALL SELECT e.id, d.deptname FROM employee e RIGHT OUTER JOIN department d ON e.deptid = d.id WHERE e.id > 4

单选题 How does DB2 protect the integrity of indexes when data is updated?()

A

Locks are acquired on the data.

B

Locks are acquired on index keys.

C

Locks are acquired on index pages.

D

Locks are acquired on index pointers.

首页 上一页 1 2 3 4 5 下一页 尾页 /

到第