Exam 4: Constraints

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

The ____________________ keywords can be added to the end of the command that creates a FOREIGN KEY constraint to indicate that when a row is deleted from the parent table that is referenced by entries in the child table, the rows in the child table should also be deleted.

(Short Answer)
4.8/5
(35)

The ____________________ command can be used to enable or disable a constraint.

(Short Answer)
5.0/5
(39)

When a constraint is created at the table level, the constraint definition is provided ____ the column definition list.

(Multiple Choice)
4.7/5
(38)

A constraint name can consist of up to 25\underline { 25 } characters and numbers. _________________________

(True/False)
4.8/5
(36)

The  REFERENCE \underline {\text { REFERENCE } } constraint is used to ensure that a data value meets a specified condition before a record is added to a table. _________________________

(True/False)
4.9/5
(33)

Which of the following statements about the FOREIGN KEY constraint is incorrect?

(Multiple Choice)
4.9/5
(33)

The UNIQUE constraint differs from the PRIMARY KEY constraint in what way?

(Multiple Choice)
4.9/5
(46)

The ____________________ view can be used to list the names of the constraints that exist for all tables owned by the user.

(Short Answer)
4.9/5
(39)

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

(Multiple Choice)
5.0/5
(39)

What is the relationship between a NOT NULL constraint and a CHECK constraint?

(Essay)
4.9/5
(48)

The FOREIGN KEY constraint is usually placed on the  "one" \underline { \text { "one" } } side of a one-to-many relationship. _________________________

(True/False)
4.7/5
(33)

A PRIMARY KEY constraint will make certain the column designated as the primary key does not contain a NULL value.

(True/False)
4.9/5
(34)

The data  warehouse \underline { \text { warehouse } } contains information about objects included in the database. _________________________

(True/False)
4.8/5
(34)

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

(Multiple Choice)
4.8/5
(31)

Structure of the PROMOTION table Structure of the PROMOTION table    -Which of the following commands will add a UNIQUE constraint to the MINRETAIL column of the PROMOTION table? -Which of the following commands will add a UNIQUE constraint to the MINRETAIL column of the PROMOTION table?

(Multiple Choice)
4.8/5
(33)

In a "one-to-many" relationship, which constraint is usually added to the "many" table?

(Multiple Choice)
4.7/5
(32)

The ADD\underline { ADD } clause of the ALTER TABLE command is used to add a PRIMARY KEY constraint to an existing table. _________________________

(True/False)
4.9/5
(30)

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.9/5
(43)

The ____________________ TABLE command is used to add a PRIMARY KEY constraint to an existing table.

(Short Answer)
5.0/5
(36)

How can constraints be added to a table?

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

Filters

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