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 5: Creating and Altering Tables<br />

148<br />

Figure 5-4<br />

With that, you’ll get an Add Table dialog, as shown in Figure 5-5. This lets us decide what tables we<br />

want to include in our diagram — we can created multiple diagrams if we wish, potentially each covering<br />

some subsection — or submodel — of the overall database schema. In this case, we have an empty list<br />

because we just created our database.<br />

Figure 5-5<br />

For now, just click Close (you can’t add tables if there are no tables to add!), and you should get an<br />

empty diagram screen. The nice part is that you can add a table by either right-clicking and choosing the<br />

appropriate option, or by clicking on the New Table icon in the toolbar. When you choose New Table,<br />

<strong>SQL</strong> <strong>Server</strong> will ask you for the name you want to give your new table. You will then get a mildly helpful<br />

dialog box that lets you fill in your table one piece at a time — complete with labels for what you<br />

need to fill out, as shown in Figure 5-6.<br />

Figure 5-6

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

Saved successfully!

Ooh no, something went wrong!