Exam 4: Constraints

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

If a data value violates a(n)constraint,the entire row is prevented from being added to the table._________________________​

(True/False)
4.9/5
(38)

Any type of constraint for a single column can be created at the column level._________________________​

(True/False)
4.7/5
(39)

Each column can only be included in one constraint.​

(True/False)
4.9/5
(45)

If the ____ keyword is included when a constraint is created,a constraint name must be provided by the user.​

(Multiple Choice)
4.9/5
(40)

A constraint is always enforced at the ____________________ level.​

(Short Answer)
4.8/5
(36)

Which command can be used to determine whether or not a column is allowed to contain a NULL value?​

(Multiple Choice)
4.8/5
(29)

In the USER_CONSTRAINTS view,the value displayed in the CONSTRAINT_TYPE column will be a(n)____ for a NOT NULL constraint.​

(Multiple Choice)
4.8/5
(39)

Both the table-level and column-level approaches to creating a constraint can be included in the same command._________________________​

(True/False)
4.8/5
(36)

Which of the following is not a constraint type in Oracle 12c?​

(Multiple Choice)
4.9/5
(40)

​Structure of the ORDERITEMS table ​Structure of the ORDERITEMS table    -If a PRIMARY KEY constraint,named ORDERITEMS_PK,exists for the ORDER# and ITEM# columns of the ORDERITEMS table,which of the following commands will drop the constraint?​ -If a PRIMARY KEY constraint,named ORDERITEMS_PK,exists for the ORDER# and ITEM# columns of the ORDERITEMS table,which of the following commands will drop the constraint?​

(Multiple Choice)
4.8/5
(45)

​Structure of the PROMOTION table ​Structure of the PROMOTION table    -Based on the structure of the PROMOTION table,which of the following commands will ensure that the value entered for the MINRETAIL column is less than the value entered for the MAXRETAIL column?​ -Based on the structure of the PROMOTION table,which of the following commands will ensure that the value entered for the MINRETAIL column is less than the value entered for the MAXRETAIL column?​

(Multiple Choice)
4.9/5
(43)

Which of the following are used to enforce business rules?​

(Multiple Choice)
4.9/5
(36)

​Structure of the PROMOTION table ​Structure of the PROMOTION table    -Based on the structure of the PROMOTION table,which of the following commands will add a PRIMARY KEY constraint to the GIFT column?​ -Based on the structure of the PROMOTION table,which of the following commands will add a PRIMARY KEY constraint to the GIFT column?​

(Multiple Choice)
4.8/5
(41)

Constraints are rules used to enforce business rules,practices,and policies.​

(True/False)
4.8/5
(32)

​Structure of the ORDERITEMS table ​Structure of the ORDERITEMS table    -Based on the structure of the ORDERITEMS table,which of the following commands will add a NOT NULL constraint to the ISBN column?​ -Based on the structure of the ORDERITEMS table,which of the following commands will add a NOT NULL constraint to the ISBN column?​

(Multiple Choice)
4.9/5
(39)

Unless a PRIMARY KEY or a(n)____________________ constraint is being dropped,the actual name assigned to the constraint must be included in the ALTER TABLE command.​

(Short Answer)
4.9/5
(42)

The CONSTRAINT keyword is required if the user is going to assign a name to a constraint.​

(True/False)
4.8/5
(29)

A(n)UNIQUE constraint will allow NULL values to be stored in the designated column._________________________​

(True/False)
4.9/5
(37)

A Datatype is a rule used to ensure the accuracy of data stored in a database._________________________​

(True/False)
4.8/5
(28)

​Which of the following is the standard abbreviation for the constraint FOREIGN KEY?

(Multiple Choice)
4.9/5
(35)
Showing 41 - 60 of 132
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)