Summary
In this chapter, you began to design the essential part of a report: the query and stored procedure. By using stored procedures, you gain the benefits of central administration and security and also gain the ability to execute compiled code to return the dataset instead of a stand-alone query. You can develop queries in conjunction with the report, using the built-in query tools within SSRS. However, it’s best to deploy the report with a stored procedure.
A report request and the target audience are the deciding factors when determining the layout and default rendering of the report. However, even though reports are often designed to answer a specific need, if they’re based on the same tried-and-true stored procedures, with similar parameters and groupings, the data will be accurate across all reports. You can then focus the design time on the report itself and not on rewriting queries.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights and permissions
Copyright information
© 2006 Rodney Landrum and Walter J. Voytek II
About this chapter
Cite this chapter
(2006). Report Authoring: Designing Efficient Queries. In: Pro SQL Server 2005 Reporting Services. Apress. https://doi.org/10.1007/978-1-4302-0091-8_2
Download citation
DOI: https://doi.org/10.1007/978-1-4302-0091-8_2
Publisher Name: Apress
Print ISBN: 978-1-59059-498-8
Online ISBN: 978-1-4302-0091-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books