Chapter 8. Creating Tables and Enforcing Data Integrity

Exam objectives in this chapter:

  • Create Database Objects

    • Create and alter tables using T-SQL syntax (simple statements).

    • Create and modify constraints (simple statements).

Tables are the primary method of data storage in Microsoft SQL Server. To use tables, you need to master how to create them, in addition to adding constraints to protect the integrity of the stored data. In this chapter, you learn how to create and alter tables, in addition to enforcing data integrity between tables by using table constraints.

Lessons in this chapter:

Before You Begin

To complete the lessons in this chapter, you must have:

  • An understanding ...

Get Training Kit (Exam 70-461): Querying Microsoft® SQL Server® 2012 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.