Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scheduling existing sproc to run as a job

Status
Not open for further replies.

NuJoizey

MIS
Aug 16, 2006
450
US
I have a sproc that i want to run once a month that does some simple maintenance on one of the tables. When I go to create a new job step of type T-SQL, the screen seems to only ask me either for the syntax of the procedure, or for an *.sql file location somewhere in the file system. That doesn't seem right - because what if I update the sproc? If I don't point directly to it, then it seems to me I'm in a situation of having to update in multiple locations? what am i overlooking here?


 
so easy.... just

EXEC mySproc in the TSQL syntax.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top