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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 5-3<br />

Chapter 5: Creating and Altering Tables<br />

Next comes the compatibility level. This will control whether certain <strong>SQL</strong> <strong>Server</strong> <strong>2008</strong> syntax and keywords<br />

are supported or not. As you might expect from the name of this setting, the goal is to allow you<br />

to rollback to keywords and functional behavior that more closely matches older versions if your particular<br />

application happens to need that. For example, as you roll it back to earlier versions, some words<br />

that are keywords in later versions revert to being treated as non-keywords, and certain behaviors that<br />

have had their defaults changed in recent releases will revert to the older default.<br />

The remaining properties will vary from install to install, but work as I described them earlier in the chapter.<br />

OK, given that the other settings are pretty much standard fare compared with what we saw earlier in<br />

the chapter, let’s go ahead and try it out. Click OK and, after a brief pause to actually create the database,<br />

you’ll see it added to the tree.<br />

Now expand the tree to show the various items underneath the Accounting node, and select the Database<br />

Diagrams node. Right-click it, and you’ll get a dialog indicating that the database is missing some<br />

objects it needs to support database diagramming, as shown in Figure 5-4. Click Yes.<br />

Note that you should only see this the first time a diagram is being created for that database. <strong>SQL</strong><br />

<strong>Server</strong> keeps track of diagrams inside special tables that it only creates in your database if you are going<br />

to actually create a diagram that will use them.<br />

147

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

Saved successfully!

Ooh no, something went wrong!