3 4
The following questions are intended to reinforce key information presented in this chapter. If you are unable to answer a question, review the appropriate lesson and then try the question again. You can find answers to the questions in Appendix A, "Questions and Answers."
- What properties within a SQL Server database are used to enforce data integrity?
- What is the difference between a DEFAULT definition and a NOT NULL definition?
- What are the advantages of using CHECK constraints rather than rules?
- What four types of data integrity does SQL Server support?
- What are the differences between entity integrity and domain integrity?
- Which type of integrity preserves the defined relationships between tables when records are entered or deleted?
- What types of constraints does SQL Server support?
- How many PRIMARY KEY constraints can be included in a table definition?
- When should you use a UNIQUE constraint rather than a PRIMARY KEY constraint?
- What does SQL Server check for in the existing data when a PRIMARY KEY constraint is added to an existing column (or columns)?
- What is a FOREIGN KEY constraint, and how is it created?
- How does a CHECK constraint determine what values are valid?