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)
Thank this author by sharing:
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.
Splitter function adapted from http://blog.magenic.com/blogs/whitneyw/archive/2008/10/08/Split-a-string-in-TSQL-_2800_without-looping_2900_.aspx
When I execute the RSExecutionLog_Update.dtsx, I get an error saying "The task "Set Time period...
Comments posted to this topic are about the item [B]Stored Procedure to maintain RSExecutionLog[/B] ...
I have set up RSExecutionLog_Update using the following instruction:http://technet.microsoft.com/en-...