Exam 4: Constraints
Exam 1: Overview of Database Concepts108 Questions
Exam 2: Basic SQL Select Statements121 Questions
Exam 3: Table Creation and Management136 Questions
Exam 4: Constraints132 Questions
Exam 5: Data Manipulation and Transaction Control136 Questions
Exam 6: Additional Database Objects138 Questions
Exam 7: User Creation and Management130 Questions
Exam 8: Restricting Rows and Sorting Data132 Questions
Exam 9: Joining Data From Multiple Tables119 Questions
Exam 10: Selected Single-Row Functions133 Questions
Exam 11: Group Functions137 Questions
Exam 12: Subqueries and Merge Statements131 Questions
Exam 13: Views133 Questions
Select questions type
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)
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
-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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)