Hi, have you considered using subscriptions in reporting services, which will automatically run the report on a scheduled time, export it to a certain file type such as pdf or excel and then either save it on the network or email it to users specified.
See this link for more info.
http://msdn.microsoft
Rob
Main Topics
Browse All Topics





by: rob_farleyPosted on 2009-02-25 at 14:36:13ID: 23739403
The functionality you want is within a web service. One option would be to use a PowerShell script (SQL 2008?), which can easily pull the content down from a URL, pushing it into a file and then attaching that file to an email.
But it's not something that you can easily do using T-SQL, unless you want to consider a CLR stored procedure.
Rob