T sql question

  • How can I do this?
    I want to create a store proc which execute the result of:
    Select name from sysjobs where name like 'myjobABC%'
    Another words just say the result of above is name = "myjobABC02018"
    then I want
    EXEC dbo.sp_start_job 'myjobABC02018'

  • Please don't start multiple threads on the same topic. It fragments the discussion.

    Please post responses to How to Execute SQL Agent Job Using Wildcard.

    Drew

    J. Drew Allen
    Business Intelligence Analyst
    Philadelphia, PA

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

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