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
When a constraint is created at the table level,the constraint definition is provided ____ the column definition list.
(Multiple Choice)
4.8/5
(87)
Which of the following types of constraints is used to enforce referential integrity?
(Multiple Choice)
4.9/5
(79)
A NOT NULL constraint can only be added to an existing table by using the ADD clause with the ALTER TABLE command._________________________
(True/False)
4.8/5
(61)
A PRIMARY KEY constraint can be added to an existing table by using the ____ clause of the ALTER TABLE command.
(Multiple Choice)
4.8/5
(82)
The NOT NULL constraint can only be created at the ____ level.
(Multiple Choice)
4.9/5
(87)
What is the difference between how a NOT NULL constraint is added to an existing column and how other types of constraints are added?
(Essay)
4.8/5
(76)
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
(75)
The data warehouse contains information about objects included in the database._________________________
(True/False)
4.9/5
(68)
A constraint can only be created as part of the CREATE TABLE command.
(True/False)
4.8/5
(84)
The ALTER TABLE command can be used to delete an existing constraint._________________________
(True/False)
4.7/5
(82)
Constraints are used to ensure the accuracy and integrity of the data contained in the database.
(True/False)
4.8/5
(73)
A foreign key constraint can only be created at the column level.
(True/False)
4.8/5
(78)
A(n)FOREIGN KEY constraint can only reference a column in the parent table that has been designated as the primary key for that table._________________________
(True/False)
5.0/5
(85)
The ____________________ clause of the ALTER TABLE command is used to add a PRIMARY KEY constraint to an existing table.
(Short Answer)
4.8/5
(87)
A quick way to determine whether a column can contain a NULL value is to issue the ____________________ command,followed by the table name.
(Short Answer)
4.9/5
(79)
Which of the following statements about the FOREIGN KEY constraint is incorrect?
(Multiple Choice)
4.9/5
(76)
The ____________________ view can be used to list the names of the constraints that exist for all tables owned by the user.
(Short Answer)
4.7/5
(91)
The FOREIGN KEY constraint is usually placed on the "one" side of a one-to-many relationship._________________________
(True/False)
4.8/5
(61)
Showing 101 - 120 of 132
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)