Database Journal
MS SQL Oracle DB2 Access MySQL PostgreSQL Sybase PHP SQL Etc SQL Scripts & Samples Links Database Forum

» Database Journal Home
» Database Articles
» Database Tutorials
MS SQL
Oracle
DB2
MS Access
MySQL
» RESOURCES
Database Tools
SQL Scripts & Samples
Links
» Database Forum
» Sitemap
Free Newsletters:
DatabaseDaily  
News Via RSS Feed


follow us on Twitter
Database Journal |DBA Support |SQLCourse |SQLCourse2
 

Featured Database Articles

MS SQL

Posted Jan 18, 2005

MSSQL Server Reporting Services: Black Belt Administration: Prepare the Execution Log for Reporting - Page 7

By William Pearson

The DTS Package Properties dialog appears, defaulted to the General tab.

10.  Click the Global Variables tab.

11.  Click the Value box that corresponds to the Global Variable named sConfigINI.

12.  Input the full path with file name for the rsexecutionlog_update.ini file that we copied, along with the other files provided by Reporting Services for Execution Log reporting, into our RS013 folder, in the Preparation phase of our exercise.

As an example, for my own environment, I enter the following path:

E:\DATA\RDBMS_DATA\MSSQL\Data\
  Reporting_Services_Projects\RS013\
  RSExecutionLog_Update.ini

The DTS Package Properties dialog - Global Variables tab appears, with partially visible sConfigINI Value box entry, as depicted in Illustration 19.

Click for larger image

Illustration 19: Configuration File Value Box Entry (Partially Visible)

13.  Click OK to accept our addition, and to close the DTS Package Properties dialog.

We return to the DTS Designer.

14.  Select Package --> Execute from the DTS Designer main menu, as shown in Illustration 20.


Illustration 20: Select Package --> Execute ...

The DTS Package executes, displaying step-by-step status messages within the Executing DTS Package viewer that appears next. Once the process is completed, we are greeted with a Package Execution Results message box, indicating successful completion, as depicted in Illustration 21.


Illustration 21: Success is Indicated - With Step-by-Step Statuses

15.  Click the OK button on the Package Execution Results message box to close it.

16.  Click Done to close the Executing DTS Package viewer.

We return to the DTS Designer.

17.  Select Close under the Enterprise Manager icon in the upper left corner of the DTS Designer, as shown in Illustration 22 (NOT Exit under File in the adjacent main menu).


Illustration 22: Closing the DTS Designer to Return to Enterprise Manager

A DTS Designer message box appears, asking if we wish to save our changes to the DTS package, as depicted in Illustration 23.


Illustration 23: DTS Designer Message Box Asks If Changes Are to Be Saved ...

18.  Click Yes to save our changes, and to close the message box and Executing DTS Package viewer.

We return to the Enterprise Manager console. A quick query or online browse of the new tables of the database that we have assembled will confirm the fact that they are, indeed, populated. The database we have created is "reporting ready," as we will see in our next session. A simple reverse-engineer of the database from MS Visio generates the schema shown in Illustration 24.


Illustration 24: Simple Database Diagram (MS Visio) of the New Reporting Database

In our next article, we will examine the uses to which the new database might be put. We will perform setup and publication of the sample reports provided with Reporting Services as a "starter set," and then go beyond that set and create a customized report to show the ease with which we might help the information consumers we support to meet general and specific needs. We will propose other considerations that will add value to this already rich resource, and discuss ways in which we can leverage Execution Log reporting to make us better report writers from multiple perspectives.

Conclusion...

In this article, we introduced Execution Logging, discussing its nature in general, and several ways in which it can assist us in understanding the performance of our reports, the actions of users, and a host of other details about the reports we create in Reporting Services. We conducted a brief preview of the steps involved in establishing the capability to perform Execution Log reporting, using the tools provided as samples with the Reporting Services installation. We then set the scene for our practice example, describing a hypothetical scenario where we determine that we can provide multiple benefits to the information consumers within a client organization by "installing" the Execution Log reporting capability.

We discussed reasons for creating a reporting database as opposed to simply using the Execution Log in its original state, then set about creating and populating the database. After copying the sample files included with Reporting Services to make this process easier for us, we opened and executed the table creation script to create the schema for our new reporting database. We then loaded and executed the DTS package provided to transform the Execution Log data and populate the new database tables, paving the way for exercises in reporting from the Execution Log data, which we will begin in our next article.

» See All Articles by Columnist William E. Pearson, III

Discuss this article in the MSSQL Server 2000 Reporting Services Forum.



MS SQL Archives

Comment and Contribute

 


(Maximum characters: 1200). You have characters left.

 

 




Latest Forum Threads
MS SQL Forum
Topic By Replies Updated
SQL 2005: SSIS: Error using SQL Server credentials poverty 3 August 17th, 07:43 AM
Need help changing table contents nkawtg 1 August 17th, 03:02 AM
SQL Server Memory confifuration bhosalenarayan 2 August 14th, 05:33 AM
SQL Server Primary Key and a Unique Key katty.jonh 2 July 25th, 10:36 AM


















Thanks for your registration, follow us on our social networks to keep up-to-date