Exam 4: Constraints
Exam 1: Overview of Database Concepts108 Questions
Exam 2: Basic Sql Select Statements122 Questions
Exam 3: Table Creation and Management132 Questions
Exam 4: Constraints132 Questions
Exam 5: Data Manipulation and Transaction Control132 Questions
Exam 6: Additional Database Objects132 Questions
Exam 7: User Creation and Management132 Questions
Exam 8: Restricting Rows and Sorting Data132 Questions
Exam 9: Joining Data From Multiple Tables131 Questions
Exam 10: Selected Single Row Functions133 Questions
Exam 11: Group Functions134 Questions
Exam 12: Subqueries and Merge Statements132 Questions
Exam 13: Views133 Questions
Select questions type
A(n) constraint can only reference a column in the parent table that has been designated as the primary key for that table. _________________________
(True/False)
4.7/5
(43)
Which of the following statements about creating constraints is incorrect?
(Multiple Choice)
4.8/5
(29)
The NOT NULL constraint can only be created at the ____ level.
(Multiple Choice)
4.8/5
(33)
The ALTER TABLE command with the ENABLE clause can be used to enable a constraint.
(True/False)
4.9/5
(35)
With the exception of the NOT NULL constraint, constraints can be added to a table using the ADD clause of the ALTER TABLE command.
(True/False)
4.9/5
(27)
A UNIQUE constraint is the same as a PRIMARY KEY constraint, except that it will accept NULL values.
(True/False)
4.9/5
(37)
Structure of the PROMOTION table
-Based on the structure of the PROMOTION table, which of the following commands will ensure that the value entered for the MINRETAIL column is less than the value entered for the MAXRETAIL column?

(Multiple Choice)
4.8/5
(26)
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.7/5
(31)
In the USER_CONSTRAINTS view, the value displayed in the CONSTRAINT_TYPE column will be a(n) ____ for a NOT NULL constraint.
(Multiple Choice)
4.8/5
(35)
When dropping a(n) constraint, the name of the column does not need to be included in the ALTER TABLE command. _________________________
(True/False)
4.7/5
(39)
A constraint for a composite primary key must be created at the table level.
(True/False)
4.8/5
(29)
Unless a PRIMARY KEY or a(n) ____________________ constraint is being dropped, the actual name assigned to the constraint must be included in the ALTER TABLE command.
(Short Answer)
4.9/5
(40)
Which of the following is the standard abbreviation for the constraint FOREIGN KEY?
(Multiple Choice)
4.8/5
(36)
If a constraint applies to more than one column, the constraint must be created at the ____ level.
(Multiple Choice)
4.8/5
(33)
A is a rule used to ensure the accuracy of data stored in a database. _________________________
(True/False)
4.8/5
(25)
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?

(Multiple Choice)
4.9/5
(26)
Constraints are used to ensure the accuracy and integrity of the data contained in the database.
(True/False)
4.8/5
(44)
When dropping a constraint, the user is always required to specify the name of the constraint being dropped.
(True/False)
4.8/5
(28)
Showing 21 - 40 of 132
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)