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 />

Deploying the Report<br />

The thing left to do is to deploy the report. As with the Report Model approach, you can right-click the<br />

report in the Solution Explorer and choose Deploy. There is, however, a minor catch; you need to define<br />

the target to deploy to in the project definition.<br />

1. Right-click the Report <strong>Server</strong> Project and choose Properties.<br />

2. In the Target<strong>Server</strong>URL field, enter the URL to your Report<strong>Server</strong>. In my case, this may be as<br />

simple as http://localhost/Report<strong>Server</strong>, but the server name could be any server you<br />

have appropriate rights to deploy to. (The Virtual Directory may also be something other than<br />

Report<strong>Server</strong> if you defined it that way at install.)<br />

After you’ve deployed, you’ll want to view the report. Navigate to your report server (if on the local host<br />

and using the default directory, it would be http://localhost/Reports, just as it was for the Report<br />

Model examples earlier). Click on your report project, and choose your Non Credit Card Orders report.<br />

It will take a bit to come up the first time you load it. (If you navigate back to it again, the report definition<br />

will be cached and thus come up fairly quickly.) You should see your report just as we defined it in<br />

our project.<br />

Summary<br />

542<br />

Reporting Services has had a major impact on many <strong>SQL</strong> <strong>Server</strong> installations. For many companies, having<br />

a relatively robust reporting server built right into their central data store has been liberating, making it<br />

much easier to disseminate information to data consumers. For other organizations, Reporting Services has<br />

provided an adequate solution to replace long-standing reporting packages such as Crystal Reports. <strong>SQL</strong><br />

<strong>Server</strong> <strong>2008</strong> adds several new features and controls to allow for more elegant and powerful reports, plus<br />

the engine has been redesigned to allow for much higher scalability.<br />

In this chapter, we’ve really only scratched the surface of what’s possible. Reports can be parameterized,<br />

you can embed charts, integrate with other products (such as <strong>Microsoft</strong> SharePoint Services or <strong>Microsoft</strong><br />

Office SharePoint Services), drill through from one report to another, and even embed reports inside of<br />

other reports.<br />

For more information on reporting, I’d suggest a book specific to Reporting Services.

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

Saved successfully!

Ooh no, something went wrong!