Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Scheduling execute procedures

Author  Topic 

MARINOS
Starting Member

13 Posts

Posted - 2008-05-18 : 09:09:25
Hi
i want to Schedul a stored procedure to execute every day and send the result by email to specifed email address.

Does any one know how to execute this procedure??

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-05-18 : 13:26:20
Add a new job in SQL Agent and schedule it to happen every day. Inside job call EXEC SpName to call the stored procedure and store result in a table or variable. Then use system stored procedure xp_sendmail to sent the mail.
Go to Top of Page
   

- Advertisement -