Exam 4: Constraints

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

The ____________________ clause of the ALTER TABLE command must be used to drop an existing constraint.​

(Short Answer)
4.8/5
(28)

A constraint name can consist of up to 10 characters.​

(True/False)
4.9/5
(27)

​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 disable 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 disable the constraint?​

(Multiple Choice)
4.8/5
(40)

A referential integrity constraint is usually placed on the ____________________ side of a one-to-many relationship.​

(Short Answer)
4.9/5
(37)

A constraint can be renamed using the ALTER TABLE command.​

(True/False)
4.9/5
(35)

A(n)constraint can be created during the creation of a database table or added to a table afterwards._________________________​

(True/False)
4.8/5
(34)

If the ON DELETE CASCADE keywords are included when a(n)PRIMARY KEY constraint is created,then if a row is deleted from the parent table,any corresponding records in the child table are also deleted._________________________​

(True/False)
4.7/5
(35)

Any type of constraint can be created at the ____________________ level,unless the constraint is being defined for more than one column.​

(Short Answer)
5.0/5
(35)

A primary key is usually given the abbreviation _pk in the constraint name if the name is assigned by the user.​

(True/False)
4.8/5
(30)

The ALTER TABLE command with the ENABLE clause can be used to enable a constraint.​

(True/False)
4.7/5
(41)

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

(Short Answer)
4.9/5
(31)

​Where does the Oracle 12c server store information about objects in the database,including information about constraints?

(Multiple Choice)
4.7/5
(40)

Which of the following types of constraints will not allow NULL values?​

(Multiple Choice)
4.9/5
(38)

Which of the following statements about creating constraints is incorrect?​

(Multiple Choice)
4.8/5
(37)

A(n)FOREIGN KEY constraint is used to ensure that referential integrity exists between tables._________________________​

(True/False)
4.7/5
(37)

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

(Essay)
4.8/5
(35)

When dropping a(n)PRIMARY KEY constraint,the name of the column does not need to be included in the ALTER TABLE command._________________________​

(True/False)
4.8/5
(32)

When a constraint is created at the ____ level with the CREATE TABLE command,the constraint definition is simply included as part of the column definition.​

(Multiple Choice)
4.9/5
(36)

Constraints are always enforced at the ____ level.​

(Multiple Choice)
4.8/5
(38)

The 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)
Showing 61 - 80 of 132
close modal

Filters

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