Home Forums Programming General Executing a SQL job from within VB RE: Executing a SQL job from within VB
Norman Kelm
SSCommitted
Points: 1922
More actions
January 19, 2004 at 2:35 pm
#490728
Execute the following stored procedure just as you would any other.
EXECUTE msdb..sp_start_job @job_name = 'your job'
You must be a sysadmin to start a job that you do not own.
Norman