IBM DB2 9.7 SQL Procedure Developer (C2090-545) Free Practice Test
Question 1
Given the following SQL:

Which statement is incorrect?

Which statement is incorrect?
Correct Answer: B
Question 2
For which types of servers can you use IBM Data Studio to create and manage SQL procedures?
Correct Answer: D
Question 3
In a SQL Procedure, rows_fetched is an integer variable and curEmp is a cursor variable of SELECT statement on a table. After opening the cursor curemp, which of the statement will determine the number of rows fetched?
Correct Answer: D
Question 4
Given the following DDL:

what will the SALARY be?

what will the SALARY be?
Correct Answer: C
Question 5
What is a reason to use SQL procedures in DB2?
Correct Answer: A
Question 6
What values are generated each time an SQL statement is executed?
Correct Answer: B
Question 7
Which two statements are true when working with triggers? (Choose two.)
Correct Answer: A,D
Question 8
Which statement will create global variable?
Correct Answer: C
Question 9
Which declaration is not valid?
Correct Answer: A
Question 10
The CREATE PROCEDURE statement shown below was executed against a database called MYDB.
CREATE PROCEDURE myschema.proc1(IN p1 INTEGER, OUT p2 CHAR(4), OUT p3 SMALLINT)
BEGIN
SET p2 = 'abc';
END
Which two CREATE PROCEDURE statements, when executed against the same database, will succeed? (Choose two.)
CREATE PROCEDURE myschema.proc1(IN p1 INTEGER, OUT p2 CHAR(4), OUT p3 SMALLINT)
BEGIN
SET p2 = 'abc';
END
Which two CREATE PROCEDURE statements, when executed against the same database, will succeed? (Choose two.)
Correct Answer: A,E