Re: Is it possible to set a scheduled job for executing a store procedure?

From: David Gugick (davidg-nospam_at_imceda.com)
Date: 10/30/04


Date: Sat, 30 Oct 2004 01:18:26 -0400

RC wrote:
> And after the transcation is completed, sent a email alert to user....
>
> Thanks

Yes, you can scedule a job to execute a stored procedure and send a
confirmation email to a user on success / failure / or either. You'll
need to have the SQL Agent started and you need to configure the server
with Outlook or some smtp service if I'm not mistaken. You can add the
operator (email recipient) using sp_add_operator and create the job in
SQL Enterprise Manager.

-- 
David Gugick
Imceda Software
www.imceda.com 


Relevant Pages

  • RE: master..xp_cmdshell Error 997 from GetProxyAccount
    ... Start SQL Enterprise manager ... right mouse on SQL Server Agent and select properties ... select Job System tab ... > This all works when the stored procedure is fired inserting the record ...
    (microsoft.public.sqlserver.programming)
  • RE: master..xp_cmdshell Error 997 from GetProxyAccount
    ... Start SQL Enterprise manager ... right mouse on SQL Server Agent and select properties ... select Job System tab ... > This all works when the stored procedure is fired inserting the record ...
    (microsoft.public.sqlserver.security)
  • Re: sql expression
    ... Create a stored procedure ... similar to that shown below in SQL Enterprise Manager. ... param2 and param3) or whatever and how many ...
    (microsoft.public.vb.crystal)
  • Re: How can I run an Oracle stored procedure from SQl Server
    ... Create a linked server in SQL Enterprise manager. ... > What's the best way to run an oracle stored procedure from a sql server ...
    (microsoft.public.sqlserver.programming)