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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.