IBM Assessment: DB2 9 Family Fundamentals - A2090-730 模擬練習

Which of the following DB2 data types CANNOT be used to create an identity column?

正解: D
Which of the following best describes the lock protection provided by DB2 for the current row of a cursor?

正解: C
Given the following tables:
CONTINENTS ID NAME COUNTRIES 1 Antarctica 0 2 Africa 53 3 Asia 47 4 Australia 14 5 Europe 43
6 North America 23 7 South America 12 REGION ID LOCATION 1 East 2 West
How many rows would be returned using the following statement?
SELECT location FROM continents, region

正解: B
What type of constraint is used to ensure that each row inserted into the EMPLOYEE table with a value in the WORKDEPT column has a row with a corresponding value in the DEPTNO column of the DEPARTMENT table?

正解: B
Which of the following strings can NOT be inserted into an XML column using XMLPARSE()?

正解: D
If a view named V1 is created in such a way that it references every column in a table named EMPLOYEE except a column named SALARY, which of the following is NOT an accurate statement?

正解: B
If the following SQL statement is executed:
CREATE TABLE sales
(invoice_no NOT NULL PRIMARY KEY,
sales_date DATE,
sales_amt NUMERIC(7,2))
IN tbsp0, tbsp1, tbsp2, tbsp3
PARTITION BY RANGE (sales_date NULLS FIRST)
(STARTING '1/1/2007' ENDING '12/31/2007'
EVERY 3 MONTHS)
Which of the following statements is true?

正解: C
What type of constraint can be used to ensure that, in any given row in a table, the value of one column never exceeds the value of another column?

正解: B
Which of the following statements allows BOB to revoke access to the SAMPLE database from user TOM?

正解: D
Which of the following DB2 data types has a fixed length?

正解: D
Which of the following constraint types can be used to ensure the value of an INTEGER column references only positive values?

正解: B
Which of the following is NOT true about XML columns?

正解: C
The following SQL statements were executed in sequence:
CREATE DISTINCT TYPE salary AS decimal(7,2) WITH COMPARISONS;
CREATE TABLE staffsalary(empid INT, empsalary salary);
INSERT INTO staffsalary VALUES (10, 50000), (20, 50000.00);
UPDATE staffsalary SET empsalary = 60000
WHERE salary(50000) = empsalary;
What is the current content of the staffsalary table?

正解: A
If an application issues the same query more than once in the same Unit of Work, which isolation level will not permit this application to see additional rows inserted by other applications?

正解: D