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
If a user is going to assign a name to a constraint, the ____________________ keyword must be included in the command.
Free
(Short Answer)
4.7/5
(41)
Correct Answer:
CONSTRAINT
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?

Free
(Multiple Choice)
4.9/5
(41)
Correct Answer:
B
If the Oracle11g server assigns a name to a constraint, it will use the format ____________________ for the constraint name.
Free
(Short Answer)
4.7/5
(37)
Correct Answer:
SYS_Cn
A constraint can only be created as part of the CREATE TABLE command.
(True/False)
5.0/5
(35)
A NOT NULL constraint can be added to an existing table using the ALTER TABLE command with the ____________________ clause.
(Short Answer)
4.8/5
(39)
The CONSTRAINT keyword is required if the user is going to assign a name to a constraint.
(True/False)
4.9/5
(29)
Structure of the ORDERITEMS table
-Based on the structure of the ORDERITEMS table, which of the following commands will add a NOT NULL constraint to the ISBN column?

(Multiple Choice)
4.8/5
(26)
Which of the following types of constraints will not allow NULL values?
(Multiple Choice)
4.7/5
(38)
Where does the Oracle11g server store information about objects in the database, including information about constraints?
(Multiple Choice)
4.7/5
(32)
The MODIFY clause is used with the ALTER TABLE command to add a PRIMARY KEY constraint to an existing table.
(True/False)
4.8/5
(31)
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)
4.9/5
(36)
In the USER_CONSTRAINTS view, the value displayed in the CONSTRAINT_TYPE column will be a(n) ____ for a CHECK constraint.
(Multiple Choice)
4.7/5
(42)
In the USER_CONSTRAINTS view, the constraint type for a NOT NULL constraint will be listed as _________________________
(True/False)
4.8/5
(27)
Explain the similarities and differences between the UNIQUE and PRIMARY KEY constraints.
(Essay)
5.0/5
(38)
If a(n) 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
(31)
The ____________________ clause of the ALTER TABLE command must be used to drop an existing constraint.
(Short Answer)
4.9/5
(29)
A(n) constraint will allow NULL values to be stored in the designated column. _________________________
(True/False)
4.9/5
(35)
A CHECK constraint requires that a data value meet a certain condition before the record is added to the database table.
(True/False)
4.9/5
(35)
Showing 1 - 20 of 132
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)