Exam 4: Constraints

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

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

(True/False)
4.8/5
(39)

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

(Multiple Choice)
4.8/5
(42)

The ____ constraint prevents the user from adding a NULL value in the specified column.​

(Multiple Choice)
4.8/5
(38)

If a(n)FOREIGN KEY constraint has been created for a table,it means the data values in that column must be unique and cannot contain NULL values._________________________​

(True/False)
4.9/5
(42)

If a user is going to assign a name to a constraint,the ____________________ keyword must be included in the command.​

(Short Answer)
4.9/5
(38)

Only one PRIMARY KEY constraint can exist for each table.​

(True/False)
4.9/5
(30)

In the USER_CONSTRAINTS view,the constraint type for a NOT NULL constraint will be listed as N._________________________​

(True/False)
5.0/5
(42)

A PRIMARY KEY that consists of more than one column is called a(n)____ key.​

(Multiple Choice)
4.8/5
(39)

​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.8/5
(38)

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

(Multiple Choice)
4.9/5
(35)

A maximum of ____________________ PRIMARY KEY constraints can exist for each database table.​

(Short Answer)
4.8/5
(38)

When a FOREIGN KEY constraint is being created,the REFERENTIAL keyword is used to indicate the table being referenced._________________________​

(True/False)
4.8/5
(34)

In the USER_CONSTRAINTS view,the constraint type for a PRIMARY KEY constraint will be listed as PK.​

(True/False)
4.8/5
(36)

Which of the following constraints cannot be added to an existing table with the ADD clause of the ALTER TABLE command?​

(Multiple Choice)
4.8/5
(40)

A FOREIGN KEY constraint can be added to the column of a table to ensure that the referenced data value actually exists in the other table.​

(True/False)
5.0/5
(35)

Which of the following keywords must have been included during the creation of a FOREIGN KEY constraint to allow a row from the parent table to be deleted,even if it is referenced by a row in the child table?​

(Multiple Choice)
4.7/5
(39)

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

(Multiple Choice)
5.0/5
(39)

A NOT NULL constraint is a special FOREIGN KEY constraint.​

(True/False)
4.8/5
(46)

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)

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

(Multiple Choice)
4.7/5
(29)
Showing 81 - 100 of 132
close modal

Filters

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