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 |
|
srireddyp
Starting Member
8 Posts |
Posted - 2006-06-28 : 17:00:50
|
| Hi Friends,how can I schedule a stored procedure in sql server 2000 ?Thanks for help.srini |
|
|
sanjnep
Posting Yak Master
191 Posts |
Posted - 2006-06-28 : 17:03:08
|
| Put the code on DTS Package and schedule it.Sanjeev Shrestha06/28/2006 |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-06-28 : 17:12:08
|
| Why bother with a DTS package?Just add a job in the SQL Server Agent. In the job step, have it execute the stored procedure.Tara Kizeraka tduggan |
 |
|
|
srireddyp
Starting Member
8 Posts |
Posted - 2006-06-28 : 17:17:34
|
| Some one can give an example. I new to sql server.Thank you for helpSrini |
 |
|
|
srireddyp
Starting Member
8 Posts |
Posted - 2006-06-28 : 17:19:06
|
| Do I need to write some thing like exec < Procedure name > new job/ command ?Thanks.Srini |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-06-28 : 17:20:51
|
| Open up Enterprise Manager and go to SQL Server Agent in Management. Then create a job.Tara Kizeraka tduggan |
 |
|
|
srireddyp
Starting Member
8 Posts |
Posted - 2006-06-28 : 17:24:55
|
| I did that.I am not clear on where I have to select my stored procedure ?do I need to write any command manuvally likeexce < procedure name >Thanks for hlep.Srini |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-06-28 : 17:31:40
|
| EXEC ObjectOwner.ObjectName @Parm1 = SomeValue, @Parm2 = SomeValueYou can view examples in SQL Server Books Online.Tara Kizeraka tduggan |
 |
|
|
|
|
|