C2090-616 Table Practice Questions
The free C2090-616: DB2 11.1 Fundamentals for LUW questions that deal with table, with answers and explanations. The full bank and the timed practice test cover every topic the exam asks about.
Question #2
What happens when you run the following statement if MYUSER holds no privileges on table MYTABLE? REVOKE SELECT ON TABLE mytable FROM USER myuser
Correct answer: C
Explanation
Revoking a privilege that was never held is not an error; the statement completes with no change to SYSCAT.TABAUTH and the user still has no privileges on the table.
Question #3
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: B
Explanation
DB2 does not allow changing a column from a character type to an integer type, so the statement fails with an incompatible data type error. The stored values A to D could not be converted to integers in any case.
Question #6
Which of the following commands can undo the work done by the current unit of work executing UPDATE statements on a table?
Correct answer: C
Explanation
ROLLBACK WORK backs out every change made since the start of the current unit of work, so the UPDATE statements are undone; COMMIT would make them permanent.
Continue with C2090-616: DB2 11.1 Fundamentals for LUW
Unlock the full question bank
You have read the first 10 questions. A subscription opens every question in C2090-616: DB2 11.1 Fundamentals for LUW, the full timed practice test, and your progress and weak-topic reporting.
Single exam
$19.99for 30 days
Full question bank and practice test for one exam, for 30 days.
Single exam
$49.99for 1 year
One exam for a full year. Nothing renews and nothing to cancel.
Full access
$39.99/mo
Every exam in the catalogue, month to month.
Full access
$199.99/yr
Every exam in the catalogue for a year.
Already subscribed? Sign in to pick up where you left off.
All C2090-616: DB2 11.1 Fundamentals for LUW practice questions →
