Home > SQL Server Tips > Data Warehousing and Business Intelligence > Mimic SQL Server Management Studio reports for Reporting Services
SQL Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

Mimic SQL Server Management Studio reports for Reporting Services


Michelle Gutzait, Contributor
Rating: -4.67- (out of 5)

One of the most useful tools shipped with SQL Server Management Studio is the standard reports. Owning the source code in these reports could satisfy a number of needs in your organization. Perhaps you want to:

  • Publish these reports in the Reporting Services site so users will be able to view them without having to install SQL Server Management Studio.
  • Allow users, without all the required permissions at the SQL instance and database level, to view the reports.
  • Modify such a report according to specific needs.
  • Maybe you want to add more customized reports to those already existing in SQL Server Management Studio. One example of this could be a report that imitates the "Taskpad" view of a database, a feature available in SQL Server 2000 Enterprise Manager and no longer exists in the Management Studio.

    In the following steps you'll see how to get the reports' source code and how to add custom reports to the Management Studio.

    How to view the reports from Management Studio

    First let's see how to run the reports from the Management Studio. You can view reports at several levels: SQL Server instance level, database level, logins, replication agents and more.

    Prior to SP2, under the Summary folder, click Reports:

    [IMAGE]

    For example, at the SQL Server instance you will get the following reports:

    [IMAGE]

    In SP2, right click on a node in the Object Explorer, choose Reports → Standard Reports.
    At the database level, right click on the database:

    [IMAGE]
    ...


    RELATED CONTENT
    Microsoft SQL Server Reporting Services (SSRS)
    Report Builder tutorials and resources for SQL Server
    Adding charts to reports with Report Builder 3.0
    Generating column and line charts with Report Builder 3.0
    Creating bar charts with Report Builder 3.0 for SQL Server
    Using range charts for visualization with Report Builder 3.0
    Utilizing shape charts with Report Builder 3.0
    Adding gauges to reports with Report Builder 3.0 for SQL Server
    Configuring pointers, scales and ranges with Report Builder 3.0
    Putting the final touches on gauges with Report Builder 3.0
    Programming report generation with SQL Server Reporting Services 2008

    Microsoft SQL Server Performance Monitoring and Tuning
    SQL Profiler: A network trace for SQL Server
    SQL sprawl: Why is SQL Server Express installed everywhere?
    Top 10 SQL Server tips of 2009
    Top 5 SQL Server DBA tasks that are a waste of time
    SQL Server Mailbag: Asymmetric encryption, log shipping issues
    Using traces in SQL Server Profiler
    SQL Server Mailbag: CALs, witnesses and unwanted changes
    SQL Server Mailbag: Data restoration and DB property management
    Working with IntelliSense in SQL Server 2008 Management Studio
    SQL Server Mailbag: Stored procedures, triggers and SSRS reports

    Data Warehousing and Business Intelligence
    Adding charts to reports with Report Builder 3.0
    Creating bar charts with Report Builder 3.0 for SQL Server
    Generating column and line charts with Report Builder 3.0
    Utilizing shape charts with Report Builder 3.0
    Using range charts for visualization with Report Builder 3.0
    Adding gauges to reports with Report Builder 3.0 for SQL Server
    Configuring pointers, scales and ranges with Report Builder 3.0
    Putting the final touches on gauges with Report Builder 3.0
    Making sense of Parallel Data Warehouse for SQL Server 2008 R2
    Programming report generation with SQL Server Reporting Services 2008

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    contiguity  (SearchSQLServer.com)
    contiguous  (SearchSQLServer.com)
    drilldown  (SearchSQLServer.com)
    hashing  (SearchSQLServer.com)
    hybrid online analytical processing  (SearchSQLServer.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary


    Downloading the reports for Reporting Services

    In this SQL Server Manageability Team Blog there is a link to a SSMS Standard Reports zip file where you can download the source code of these reports and more.

    After downloading and extracting the files from the .zip file, follow these steps:

    1. Open the solution (.sln) file in the SQL Server Business Intelligence Development Studio.
    2. Open the Shared Data Source master.rds and change it to connect to your SQL Server 2005 instance.
    Now that you have the sources, you can use them to: build and deploy a Reporting Services solution, run reports, publish reports, change reports, etc.Adding customized reports to the Management Studio reports

    In SQL Server 2005 SP2 you can also add more reports to Management Studio. In the object explorer of Management Studio, right click a node, choose Reports → Custom Reports.
    For example, at the database level, right click a specific database:

    [IMAGE]

    Get more information about custom reports in Management Studio here.

    Microsoft allows you to download the solution and .rdl files of the SQL Server Management Studio standard reports. Since the release of SP2, you can also add your own reports to the existing ones in the Management Studio. Problems to expect in the future are related to applying new patches and SQL versions. Are we going to find the new source code of the standard reports after being modified in future patches? When we apply a new patch or version, will we still be able to find our custom reports in place?

    To "stay on the safe side," keep all the rdl files on-hand (backed-up or in a version control system) and search for new versions when a new patch is applied. Also, document all the custom reports added to the Management Studio for future reference, if needed.


    ABOUT THE AUTHOR:   

    Michelle Gutzait works as a senior databases consultant for ITERGY International Inc., an IT consulting firm specializing in the design, implementation, security and support of Microsoft products in the enterprise. Gutzait has been involved in IT for 20 years as a developer, business analyst and database consultant. For the last 10 years, she has worked exclusively with SQL Server. Her skills include database design, performance tuning, security, high availability, disaster recovery, very large databases, replication, T-SQL coding, DTS packages, administrative and infrastructure tools development, reporting services and more.
    Copyright 2007 TechTarget


    Rate this Tip
    To rate tips, you must be a member of SearchSQLServer.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



    SQL Server Development - .NET, C#, T-SQL, Visual Basic
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2005 - 2010, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts