Você está na página 1de 1

1.

Which of the following is NOT a correct way of using a user-defined function


called CONVERT that converts temperature from C to F?

THE ANSWER
call MYFUNC.CONVERT(tempA)
2.
Which of the following cannot be used to develop DB2 database applications?
THE ANSWER
XML
3.
All of the following are programming languages that can be used to develop userdefined routines except
THE ANSWER
SQL
3 Multiple choice questions
Which of the following is NOT a characteristic of a system-defined routine?
THE ANSWER
Created by the user
2.
Which of the following is NOT an IBM Data Server Driver
THE ANSWER
IBM Data Server Driver for MDBC
3.
Which of the following is TRUE about static SQL?
T
THE ANSWER
Its syntax is fully known at precompile time
1.

3 True/False questions
1.
In Java, in order to create and execute a query, what type of object must be
used? PreparedStatement
THE ANSWER
True
It should be PreparedStatement
2.
A stored procedure has been created with the following statement:
CREATE PROCEDURE proc1 (IN var1 VARCHAR(10), OUT rc INTEGER) SPECIFIC
myproc LANGUAGE SQL ...
What is the correct way to invoke this procedure from the command line processor
(CLP)? CALL proc1 ('SALES', ?)
THE ANSWER
True
It should be CALL proc1 ('SALES', ?)
3.
Which of the following is NOT a characteristic of IBM Data Server Runtime
Client? Its syntax is fully known at precompile time
THE ANSWER
False
It should be It includes development libraries

Você também pode gostar