Which of the following DB2 objects can be referenced by an INSERT statement to generate values for a column?
Show answer and explanation
Correct answer: A
C2090-730 Real Exam Questions
302 questions available · Page 1 of 31
Updated Exam DumpsVerified AnswersPass Guarantee
Which of the following DB2 objects can be referenced by an INSERT statement to generate values for a column?
Correct answer: A
Which of the following is the best statement to use to create a user-defined data type that can be used to store currency values?
Correct answer: A
Given the following table:
TAB1
COL1 COL2
----- -----
A 10
B 20
C 30
D 40
E 50
And the following SQL statements:
DECLARE c1 CURSOR WITH HOLD FOR
SELECT * FROM tab1 ORDER BY col_1;
OPEN c1;
FETCH c1;
FETCH c1;
FETCH c1;
COMMIT;
FETCH c1;
CLOSE c1;
FETCH c1;
Which of the following is the last value obtained for COL_2?
Correct answer: C
A user wishing to invoke an SQL stored procedure that queries a table must have which of the following privileges?
Correct answer: C
Given the following table definition:
SALES
---------------------------------------------
INVOICE_NO CHAR(20) NOT NULL
SALES_DATE DATE
SALES_PERSON CHAR(20)
REGION CHAR(20)
SALES INTEGER
If the following SELECT statement is executed, which of the following describes the order of the rows in the
result data set produced?
SELECT * FROM sales
Correct answer: D
Given the following requirements:
Create a table to contain employee data, with a unique numeric identifier automatically assigned when a row is
added, has an EDLEVEL column that permits only the values 'C', 'H' and 'N', and permits inserts only when a corresponding value for the employee's department exists in the DEPARTMENT table.
Which of the following CREATE statements will successfully create this table?
Correct answer: D
What is the SQL Performance Monitor used for?
Correct answer: D
A DBA has been asked to create a table which will contain a substantial amount of detailed sales information for each calendar month and maintain it to contain only the last 12 months.
Which of the following methods will facilitate the online removal of the oldest month's data?
Correct answer: C
Which of the following tasks can NOT be performed using the Developer Workbench?
Correct answer: B
Given the following information:
Protocol: TCP/IP
Port Number: 5000
Host Name: DB_SERVER
Database Name: TEST_DB
Database Server Platform: Linux
Correct answer: C