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 |
bjornenbo
Starting Member
2 Posts |
Posted - 2007-08-05 : 06:52:15
|
Hi,My problem is to create a job in Enterprise Manager for Sql server 2000. I have created a store procedure that resets a users monthsum acount to 0. I would like to call this procedure every first day of the month in Enterprise manager job scheduling. The store procedure looks like this:create proc ResetMonthasdeclare @MonthSum intset @Manadssumma = 0update Userset monthsum = @MonthSum/alghero |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-05 : 12:08:37
|
Add this for the SPIF DATEPART(DAY, CURRENT_TIMESTAMP) <> 1 RETURNAnd call the SP every day with the schedule for the job. E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|