Exam 4: Constraints

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

Which keywords identify a column that,if it contains a value,it must match data contained in another table?​

Free
(Multiple Choice)
4.8/5
(35)
Correct Answer:
Verified

A

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

Free
(Short Answer)
5.0/5
(33)
Correct Answer:
Verified

table​

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

Free
(Short Answer)
4.7/5
(33)
Correct Answer:
Verified

NOT NULL​

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

(Multiple Choice)
4.8/5
(32)

A(n)____________________ is a rule imposed on data stored in a database in order to ensure its integrity of the data.​

(Short Answer)
4.9/5
(32)

A constraint for a composite primary key must be created at the table level.​

(True/False)
4.8/5
(29)

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

(True/False)
4.8/5
(39)

Which of the following is a valid statement?​

(Multiple Choice)
5.0/5
(37)

A UNIQUE constraint is the same as a PRIMARY KEY constraint,except that it will accept NULL values.​

(True/False)
4.9/5
(36)

A constraint name can consist of up to 25 characters and numbers._________________________​

(True/False)
4.8/5
(31)

​Structure of the ORDERITEMS table ​Structure of the ORDERITEMS table    -If a PRIMARY KEY constraint,named ORDERITEMS_PK,for the ORDER# and ITEM# columns of the ORDERITEMS table have been disabled,which of the following commands will enable the constraint?​ -If a PRIMARY KEY constraint,named ORDERITEMS_PK,for the ORDER# and ITEM# columns of the ORDERITEMS table have been disabled,which of the following commands will enable the constraint?​

(Multiple Choice)
4.8/5
(32)

A constraint is created at the ____________________ level if it is included as part of the column definition.​

(Short Answer)
4.8/5
(36)

The ____ constraint requires that a specific condition be met before a record can be added to a table.​

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.8/5
(35)

If the Oracle 12c server assigns a name to a constraint,it will use the format ____________________ for the constraint name.​

(Short Answer)
4.8/5
(38)

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

When used with a FOREIGN KEY,the keyword REFERENCES refers to what?​

(Multiple Choice)
4.7/5
(37)

What is the syntax for the default constraint name provided by the Oracle 12c server?​

(Multiple Choice)
4.8/5
(34)

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

The purpose of the ____ constraint is to ensure that two records do not have the same value stored in the same column.However,it can contain NULL values.​

(Multiple Choice)
4.9/5
(38)
Showing 1 - 20 of 132
close modal

Filters

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