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
 Transact-SQL (2005)
 Automate Stored Procedure

Author  Topic 

Babli
Yak Posting Veteran

53 Posts

Posted - 2007-03-08 : 04:42:01
Hi,

I need to automate the execution of a Stored Procedure

exec <<mystoredproc name>>

I want to schedule it like how Scheduled tasks are done in Windows with *.cmd file at a particular time.

How is it done in sql 2005.

Help needed.

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2007-03-08 : 04:46:29
It's called JOB in SQL Server.


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

Babli
Yak Posting Veteran

53 Posts

Posted - 2007-03-08 : 05:07:28
Thanks I created a job and scheduled it.

quote:
Originally posted by Peso

It's called JOB in SQL Server.


Peter Larsson
Helsingborg, Sweden

Go to Top of Page
   

- Advertisement -