Question 6 of 63

A user executes the following statements:
СREATE TABLE t1 (c1 INT, c2 INT);
CREATE ALIAS a1 FOR t1;
What will be the result if the user executes the following statement?
DROP ALIAS a1;
Answer

Suggested Answer

The suggested answer is A.

Community Votes

No votes yet

Join the discussion to cast yours

Question 7 of 63

Which constraint can be used to ensure that identical values are never stored in a set of columns in a table?
Answer

Suggested Answer

The suggested answer is C.

A primary key constraint ensures that each value in the column or set of columns is unique and that no null values are allowed. This constraint is designed specifically to prevent duplicate values, making it the appropriate answer for ensuring that identical values are never stored in a set of columns in a table.

Community Votes

No votes yet

Join the discussion to cast yours

Question 8 of 63

Which of the following is TRUE about a COMMIT statement executed at the end of the T1 unit of work?
Answer

Suggested Answer

The suggested answer is D.

A COMMIT statement concludes the current transaction, making all changes made by UPDATE and DELETE commands permanent. Once the COMMIT is complete, a new unit of work is initiated, and it is not possible to undo the committed changes with a ROLLBACK command. Thus, the correct choice is that it finishes the current T1 unit of work and a new one is initiated, committing all changes made during T1.

Community Votes

No votes yet

Join the discussion to cast yours

Question 9 of 63

Which of the following statements about stored procedures is TRUE?
Answer

Suggested Answer

The suggested answer is C.

There are three main types of stored procedures which can be deployed: SQL procedures, external procedures, and sourced procedures. SQL procedures are written using SQL and run within the database server. External procedures are written in an external programming language and linked to the database. Sourced procedures are based on an existing procedure. These distinctions cover the general categories of stored procedures in many relational database management systems.

Community Votes

No votes yet

Join the discussion to cast yours

Question 10 of 63

Which edition of DB2 LUW has been discontinued in v11.1?
Answer

Suggested Answer

The suggested answer is B.

DB2 Express Server Edition has been discontinued in version 11.1 of DB2 LUW. This information can be verified through IBM's official documentation, which explicitly states the discontinuation of the DB2 Express Server Edition in this version.

Community Votes

No votes yet

Join the discussion to cast yours