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 17: Reporting for Duty, Sir! A Look At Reporting Services<br />

While the concepts are the same as we’ve seen in a few other places in the book, there are one or two<br />

new things here, so let’s take a look at several key elements to this dialog.<br />

❑ <strong>Server</strong> name: This one is what it sounds like and is the same as we’ve seen before. Name the server<br />

you want to connect to for this connection, or, if you’re wanting to connect to the default instance<br />

of <strong>SQL</strong> <strong>Server</strong> for the local server, you can also use the aliases of “(local)” or “.” (a simple period).<br />

❑ Windows/<strong>SQL</strong> <strong>Server</strong> Authentication: Choose the authentication type to connect to your server.<br />

<strong>Microsoft</strong> (and, I must admit, me too) would rather you used Windows Authentication, but if<br />

your server is not in your domain or if your administrator is not granting rights directly to your<br />

Windows login, then you can use an administrator-supplied <strong>SQL</strong> <strong>Server</strong>–specific username and<br />

password (we’ve used MyLogin and MyPassword on several occasions elsewhere in the book).<br />

❑ Connect to a database: Now things get even more interesting. Here you can either continue down<br />

the logical path of selecting a database on the server you have chosen, or you can choose to connect<br />

directly to an mdf file (in which case the <strong>SQL</strong> <strong>Server</strong> Express engine takes care of translating<br />

for you).<br />

In my case, I’ve selected the local server and our old friend, the AdventureWorks<strong>2008</strong> database.<br />

Go ahead and click OK, and we see a different Data Source Wizard dialog than we did the first time. (See<br />

Figure 17-5.)<br />

Our example only had the connection we just created, but we could, if desired, actually create several<br />

connections, and then choose between them. Note also the summary of the data connection properties<br />

on the right-hand side of the dialog.<br />

Figure 17-5<br />

521

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

Saved successfully!

Ooh no, something went wrong!