When you open a cursor, DB2 will always get all rows that meet the selection criteria and create a result set?
Yes
No
It Depends
None of the above
Given the following table: TEMP_DATA TEMP DATE _____________ 45 12/25/2006 51 12/26/2006 67 12/27/2006 72 12/28/2006 34 12/29/2006 42 12/30/2006 And the following SQL statement: TE FUNCTION degf_to_c (temp INTEGER) RETURNS INTEGER LANGUAGE SQL CONTAINS SQL NO EXTERNAL ACTION DETERMINISTIC BEGIN ATOMIC DECLARE newtemp INTEGER; SET newtemp = temp - 32; SET newtemp = newtemp * 5; RETURN newtemp / 9; END Which two of the following SQL statements illustrate the proper way to invoke the calar function DEGF_TO_C?
VALUES degf_to_c(32)
SELECT date, degf_to_c(temp) AS temp_c FROM temp_data
CALL degf_to_c(32)
Both a and b
Which wildcard character is used for a single character replacement
%
&
_
What is the picture clause of the null indicator variable
S9 (4) COMP-3
S9 (4)
9 (4)
S9 (4) COMP
_____ is dropped when the table or tablespace is dropped
SYNONYM
ALIAS
All of the above
A collection of named objects is called ______
Schema
Table
Alias
Both a & b
The maximum number of tables that can be joined is _____________
20
10
15
No Limit.
When the program name is not in the plan, we get
-810
-801
-805
-825
B37 abend during SPUFI is due to
Space Issues
Data Issues
No records found while querying the table
To retrieve data from more than one table we could use
Joins
Unions
Nested SELECT