Solved

Execute procedure after report execution

Posted on 2008-10-01
4
409 Views
Last Modified: 2008-10-14
I have a report that runs on a specific time. I save it into a windows file share so anybody who has access to that windows file sahre folder can view my report.

I wanted to have custom made log. Each time a report is executed, I wanted to insert a record on a specific table -- e.g Report file name, extension file, date of execution and even the parameters used by that report.

Is this possible?
0
Comment
Question by:faiga16
  • 2
4 Comments
 
LVL 13

Accepted Solution

by:
TommyTupa earned 500 total points
ID: 22618903
First off, are you aware of the execution log in the reportserver database?
select *  FROM [ReportServer].[dbo].[ExecutionLog]

More info about this is found here: http://technet.microsoft.com/en-us/library/aa972247(SQL.80).aspx
0
 
LVL 15

Author Comment

by:faiga16
ID: 22618955
Yup I'm aware of that.

But I wanted to have the log table on our current DB. Currently, that log table is used by an application (read-only). I wanted to consolidate SSRS log to our current report log table.

If there is a way to insert those information to a specific table, it would be great!

Thanks
0
 
LVL 12

Expert Comment

by:jgv
ID: 22620322
Does your report use a stored procedure to return the data? If it does, add an insert statement to the stored procedure. Of course the account being used to excute the procedure would need the appropriate sql permissions to insert into your table.
0
 
LVL 13

Expert Comment

by:TommyTupa
ID: 22621232
The link in the first post contains specific instructions on using DTS to export the data to your own table.

0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now