Exam 4: Constraints

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

If a FOREIGN KEY constraint exists, then a record cannot be deleted from the parent table if that row is referenced by an entry in the child table.

(True/False)
4.9/5
(39)

The SYSDATE can be used as a condition in a CHECK constraint.

(True/False)
4.9/5
(23)

A PRIMARY KEY constraint can be added to an existing table by using the ____ clause of the ALTER TABLE command.

(Multiple Choice)
4.9/5
(31)

A NOT NULL constraint is a special FOREIGN KEY constraint.

(True/False)
4.8/5
(37)

Which of the following is the standard abbreviation for the constraint NOT NULL?

(Multiple Choice)
4.7/5
(40)

What is the syntax for the default constraint name provided by the Oracle11g server?

(Multiple Choice)
4.9/5
(35)

If a FOREIGN KEY constraint is displayed in the USER_CONSTRAINTS view, the constraint type will have the letter ____________________ displayed.

(Short Answer)
4.8/5
(31)

If a(n) ____________________ constraint is being dropped, then only the type of constraint needs to be identified in the ALTER TABLE because there can only be one such constraint for each table.

(Short Answer)
4.9/5
(49)

A constraint can be added to a table after the table has been populated with data even if the existing data violates the constraint.

(True/False)
4.8/5
(27)

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

(True/False)
4.9/5
(47)

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

Structure of the ORDERITEMS table Structure of the ORDERITEMS table    -If the constraints on the ORDER# and ITEM# columns of the ORDERITEMS table were created as a PRIMARY constraint, and the actual constraint name is not known, which of the following commands can be used to delete the constraint? -If the constraints on the ORDER# and ITEM# columns of the ORDERITEMS table were created as a PRIMARY constraint, and the actual constraint name is not known, which of the following commands can be used to delete the constraint?

(Multiple Choice)
4.7/5
(43)

Which view will display the names of all the constraints that you own?

(Multiple Choice)
4.9/5
(37)

The table level approach can be used to create any constraint, except a CHECK constraint.

(True/False)
4.9/5
(41)

Referential ____________________ means that the user is referring to something that actually exists in the referenced table.

(Short Answer)
4.8/5
(42)

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

(Multiple Choice)
4.9/5
(33)

If a(n) ____________________ constraint is being dropped, then only the type of constraint and the column name need to be included in the DROP clause of the ALTER TABLE command.

(Short Answer)
4.8/5
(35)

Which of the following types of constraints is used to enforce referential integrity?

(Multiple Choice)
4.9/5
(30)

If a constraint applies to more than one column, the constraint must be created at the ____________________ level.

(Short Answer)
4.9/5
(39)

A constraint name can consist of up to 10 characters.

(True/False)
4.7/5
(40)
Showing 101 - 120 of 132
close modal

Filters

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