If you are already connected to a database, what does running the following statement do? Db2 CONNECT
Correct Answer:
B
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’
Correct Answer:
C
If the LOCKSIZE for a table is changed from TABLE to ROW, which of the following is TRUE?
Correct Answer:
A
Below are the SQL statements a DBA is planning to execute on a database: CREATE TABLE t1 (name VARCHAR (1));
INSERT INTO t1 VALUES (‘A’), (‘B’), (‘C’), (‘D’);
ALTER TABLE t1 ALTER COLUMN name SET DATA TYPE INT;
What will be the outcome of the last statement?
Correct Answer:
C
Which DB2 product required to allow connections from DB2 LUW to DB2 on z/OS?
Correct Answer:
A