17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8: Being Normal: Normalization and Other Basic Design Issues<br />

Relationships<br />

You get to this dialog by right-clicking the table heading and choosing Relationships or by selecting the<br />

Relationships icon on the Table Designer toolbar. Much like it sounds, this dialog allows us to edit the<br />

nature of the relationships between tables. As you can see from Figure 8-15, the relationships for the<br />

CustomerNotes table doesn’t yet have anything in it.<br />

Figure 8-15<br />

For now, just realize that we can edit just about anything to do with relationships here. We could, for<br />

example, create a relationship to another table just by clicking Add and filling out the various boxes.<br />

Again, we’ll look into this further in a page or two.<br />

Indexes/Keys<br />

A lot of this dialog may be something of a mystery to you at this point — we haven’t gotten to our chapter<br />

on indexing yet, so some of the terms may seem a bit strange. Still, let’s take a look at what we get in<br />

Figure 8-16 (again, either right-click the table heading and choose Indexes/Keys..., or choose the Manage<br />

Indexes and Keys icon from the Table Designer toolbar).<br />

Figure 8-16<br />

243

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!