Podcast
Questions and Answers
Which type of constraint is used to limit the range of values that can be entered in a column?
Which type of constraint is used to limit the range of values that can be entered in a column?
- Check (correct)
- Primary key
- Unique
- Not null
What is the preferred method of specifying constraints in this course, other than NOT NULL?
What is the preferred method of specifying constraints in this course, other than NOT NULL?
- Primary key constraint
- Foreign key constraint
- Column constraint
- Table constraint (correct)
What is the purpose of a foreign key constraint?
What is the purpose of a foreign key constraint?
- To combine NOT NULL and UNIQUE properties
- To ensure a column may not have duplicate values
- To ensure a field has a value
- To reference a field in another table (correct)
What is the naming convention for a primary key constraint using the CONSTRAINT keyword?
What is the naming convention for a primary key constraint using the CONSTRAINT keyword?
Why is it beneficial to use a named table constraint for primary keys?
Why is it beneficial to use a named table constraint for primary keys?
Flashcards are hidden until you start studying