Book Image

IBM Db2 11.1 Certification Guide

By : Robert (Kent) Collins, Mohankumar Saraswatipura
Book Image

IBM Db2 11.1 Certification Guide

By: Robert (Kent) Collins, Mohankumar Saraswatipura

Overview of this book

IBM Db2 is a relational database management system (RDBMS) that helps you store, analyze, and retrieve data efficiently. This comprehensive book is designed to help you master all aspects of IBM Db2 database administration and prepare you to take and pass IBM's Certification Exams C2090-600. Building on years of extensive experience, the authors take you through all areas covered by the test. The book delves deep into each certification topic: Db2 server management, physical design, business rules implementation, activity monitoring, utilities, high availability, and security. IBM Db2 11.1 Certification Guide provides you with more than 150 practice questions and answers, simulating real certification examination questions. Each chapter includes an extensive set of practice questions along with carefully explained answers. This book will not just prepare you for the C2090-600 exam but also help you troubleshoot day-to-day database administration challenges.
Table of Contents (10 chapters)

Answers

Question 1

The correct answer is 4:

  • The CHECK constraint is not support in a column-organized table. However, a NOT ENFORCED CHECK constraint is supported to enable query optimization.
  • A table can have multiple CHECK constraints defined.
  • When there are some rows that do not meet the CHECK constraint, the CHECK constraint will fail with an SQL0544N error.
  • The ALTER TABLE statement can be used to define a CHECK constraint on an existing table. A sample ALTER TABLE statement is shown as follows:
ALTER TABLE demo.employee ADD CONSTRAINT check_salary CHECK (salary >=5000) ADD CONSTRAINT check_job CHECK (JOB in ('Engineer','Sales','Manager'));

Question 2

The correct answer is 2.

Unlike other constraints, information constraints are not enforced during the INSERT, UPDATE operation. However, the Db2 optimizer will evaluate the information provided...