Need Tsql command to Execute created jobs

  • Hi Friend,

    i have to execute the job using tsql command ..

    i tried by using this command

    Declare @Job_Name varchar(100)

    EXEC sp_start_job @Job_Name ="IAD_Cheque_Series"

    pls anybody help me whether the above query is correct or not .

    Thanks in Advance!

    Regards,

    Sabarinathan.C

  • one line is good enough

    EXEC dbo.sp_stop_job N’jobname'

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply