Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Stored Procedure to maintain RSExecutionLog

By Perry Dyball,

If you prefer to use TSQL to SSIS, this script can replace the SSIS package referred to in http://msdn.microsoft.com/en-us/library/aa964131(SQL.90).aspx for maintain the RSExecutionLog database.

To setup RSExecutionLog follow the instructions for steps of "Create and Load the Execution Log Database" 1 to 7, and then instead of step 8 - 10 just run my script above.

You can then simply schedule a new job to execute the dbo.Upd_RSExecutionLog stored procedure as required to keep your RSExecutionLog database upto date.

Load the sample reports and away you go.

Hope this is of use to people out there that struggle to deploy and debug SSIS - especially when it's someone else's code.

 

Acknowledgements:

Splitter function adapted from http://blog.magenic.com/blogs/whitneyw/archive/2008/10/08/Split-a-string-in-TSQL-_2800_without-looping_2900_.aspx

 

Total article views: 1933 | Views in the last 30 days: 2
 
Related Articles
FORUM

RSExecutionLog_Update.dtsx error

Hi, When I execute the RSExecutionLog_Update.dtsx, I get an error saying "The task "Set Time period...

FORUM

Stored Procedure to maintain RSExecutionLog

Comments posted to this topic are about the item [B]Stored Procedure to maintain RSExecutionLog[/B] ...

FORUM

Database

Database

FORUM

SSRS Execution Log RSExecutionLog_Update Failed

I have set up RSExecutionLog_Update using the following instruction:http://technet.microsoft.com/en-...

FORUM

SSRS Execution Log RSExecutionLog_Update Failed

I have set up RSExecutionLog_Update using the following instruction:http://technet.microsoft.com/en-...

 
Contribute