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.
Author |
Topic |
MARINOS
Starting Member
13 Posts |
Posted - 2008-05-18 : 09:09:25
|
Hii 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. |
 |
|
|
|
|