patternMinor
Store SSRS Report export directly to database
Viewed 0 times
ssrsstoredatabasereportdirectlyexport
Problem
As a requirement, I have to check for a certain condition on some data in the database, if the condition is true, then I have to create a pdf report and store it on a table.
I have everything set up as a T-SQL SP except the pdf report part.
Is there anyway to execute an SSRS Report, export it to PDF and store the pdf in a varbinary column directly from T-SQL ?
Otherwise the only solution would be creating a Windows Service to do this (I Know how to do this but the T-SQL way would give me more flexibility).
Thanks!
I have everything set up as a T-SQL SP except the pdf report part.
Is there anyway to execute an SSRS Report, export it to PDF and store the pdf in a varbinary column directly from T-SQL ?
Otherwise the only solution would be creating a Windows Service to do this (I Know how to do this but the T-SQL way would give me more flexibility).
Thanks!
Solution
You should be able to write any sort of code in .Net and connect it into SQL Server. See http://www.codeproject.com/Articles/19954/Execute-NET-Code-under-SQL-Server-2005 for an example.
Context
StackExchange Database Administrators Q#23553, answer score: 2
Revisions (0)
No revisions yet.