Exam 4: Constraints

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

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

(Short Answer)
4.8/5
(40)

Any constraint can be created at the table or the column level.​

(True/False)
4.8/5
(41)

Explain the similarities and differences between the UNIQUE and PRIMARY KEY constraints.​

(Essay)
4.8/5
(38)

Which clause will allow you to delete a constraint?​

(Multiple Choice)
4.7/5
(31)

Which clause will allow you to disable a constraint?​

(Multiple Choice)
4.8/5
(32)

A(n)____________________ constraint requires that,if an entry is made into the column,the data value must be unique.​

(Short Answer)
4.8/5
(39)

A NOT NULL constraint can only be created at the table level._________________________​

(True/False)
4.8/5
(41)

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

(Multiple Choice)
4.9/5
(33)

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

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

(Short Answer)
4.8/5
(37)

​Structure of the ORDERITEMS table ​Structure of the ORDERITEMS table    -Based on the structure of the ORDERITEMS table,which of the following commands was most likely used to create the table?​ -Based on the structure of the ORDERITEMS table,which of the following commands was most likely used to create the table?​

(Multiple Choice)
4.9/5
(30)

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

(Short Answer)
4.8/5
(37)

A FOREIGN KEY constraint can only reference a column in another table that has been assigned a(n)____ constraint.​

(Multiple Choice)
4.9/5
(39)

How can constraints be added to a table?​

(Multiple Choice)
4.8/5
(39)

A(n)NOT NULL constraint is a special CHECK constraint with the condition of IS NOT NULL._________________________​

(True/False)
4.8/5
(37)

When dropping a constraint,the user is always required to specify the name of the constraint being dropped.​

(True/False)
4.8/5
(31)

Which of the following statements about a PRIMARY KEY is incorrect?​

(Multiple Choice)
4.9/5
(40)

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

(True/False)
4.8/5
(37)

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

(True/False)
4.8/5
(38)

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.8/5
(40)
Showing 21 - 40 of 132
close modal

Filters

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