IBM DB2 11.1 Fundamentals for LUW - C2090-616 Exam Practice Test
Which optional NPS compatibility features will be activated by executing the following? (Choose two.) SET SQL_COMPAT='NPS'
Correct Answer: C,E
Vote an answer
Which of the following commands can undo the work done by the current unit of work executing UPDATE statements on a table?
Correct Answer: A
Vote an answer
Given the following statement:
DECLARE GLOBAL TEMPORARY TABLE TEMP1 (
ID INTEGER NOT NULL,
ITEM CHAR(30),
AMOUNT DECIMAL (10,2)
ON COMMIT DELETE ROWS NOT LOGGED;
Which of the following statements are TRUE? (Choose two.)
DECLARE GLOBAL TEMPORARY TABLE TEMP1 (
ID INTEGER NOT NULL,
ITEM CHAR(30),
AMOUNT DECIMAL (10,2)
ON COMMIT DELETE ROWS NOT LOGGED;
Which of the following statements are TRUE? (Choose two.)
Correct Answer: B,E
Vote an answer
The DDL statement is used to create table T1:
CREATE TABLEt1 (
c1 INTEGER,
c2 INTEGER NOT NULL,
c1 DECIMAL(11,2),
c4 TIMESTAMP WITH DEFAULT CURRENT TIMESTAMP
)
Which of the following INSERT statements will execute successfully?
CREATE TABLEt1 (
c1 INTEGER,
c2 INTEGER NOT NULL,
c1 DECIMAL(11,2),
c4 TIMESTAMP WITH DEFAULT CURRENT TIMESTAMP
)
Which of the following INSERT statements will execute successfully?
Correct Answer: A
Vote an answer
Which of the following is TRUE about a COMMIT statement executed at the end of the T1 unit of work?
Correct Answer: A
Vote an answer
Consider the following query and the resulting set of data:
SELECT empno, lastname FROM emp WHERE empno BETWEEN '000020' and '000070' Result:
If the query below is executed, how many rows will be returned?
SELECT empno FROM emp WHERE empno > '000020' AND empno '000070'
SELECT empno, lastname FROM emp WHERE empno BETWEEN '000020' and '000070' Result:
If the query below is executed, how many rows will be returned?
SELECT empno FROM emp WHERE empno > '000020' AND empno '000070'
Correct Answer: A
Vote an answer