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 2: Tools of the Trade<br />

30<br />

log in to the default instance of <strong>SQL</strong> <strong>Server</strong> that is on this same machine, regardless of what this<br />

machine is named. Selecting “.” (local) not only automatically identifies which server (and instance)<br />

you want to use, but also how you’re going to get there. You can also use “(local)” as another option<br />

that has the same meaning as ".".<br />

<strong>SQL</strong> <strong>Server</strong> allows multiple instances of <strong>SQL</strong> <strong>Server</strong> to run at one time. These are<br />

just separate loads into memory of the <strong>SQL</strong> <strong>Server</strong> engine running independently<br />

from each other.<br />

Note that the default instance of your server will have the same name as your machine on the network.<br />

There are ways to change the server name after the time of installation, but they are problematic at best,<br />

and deadly to your server at worst. Additional instances of <strong>SQL</strong> <strong>Server</strong> will be named the same as the<br />

default (HOBBES or KIERKEGAARD in many of the examples in this book) followed by a dollar sign,<br />

and the instance name, for example, SIDDARTHA$SHRAMANA.<br />

If you select “.” or (local), your system uses the Shared Memory NetLib regardless of which NetLib you<br />

selected for contacting other servers. This is a bad news/good news story. The bad news is that you give<br />

up a little bit of control. (<strong>SQL</strong> <strong>Server</strong> will always use Shared Memory to connect; you can’t choose anything<br />

else.) The good news is that you don’t have to remember which server you’re on and you get a high-performance<br />

option for work on the same machine. If you use your local PC’s actual server name, your communications<br />

will still go through the network stack and incur the overhead associated with that, just as if<br />

you were communicating with another system, regardless of the fact that it is on the same machine.<br />

Now what if you can’t remember what the server’s name is? Just click the down arrow to the right of the<br />

server box to get a list of recently connected servers. If you scroll down, you’ll see a Browse for More option.<br />

If you choose this option, <strong>SQL</strong> <strong>Server</strong> will poll the network for any servers that are advertising to the network;<br />

essentially, this is a way for a server to let itself be known to other systems on the network. You can<br />

see from Figure 2-7 that you get two tabs: one that displays local servers (all of the instances of <strong>SQL</strong> <strong>Server</strong><br />

on the same system you’re running on) and another that shows other <strong>SQL</strong> <strong>Server</strong>s on the network.<br />

You can select one of these servers and click OK.<br />

Figure 2-7

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

Saved successfully!

Ooh no, something went wrong!