Doubt regarding sql job

  • Is there a way to invoke a SQL job from applications other than Sql Enterprise Manager or SS Management Studio.

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

  • Yes, there is procedure sp_start_job, you can have a look.

    HTH

    Piotr

    ...and your only reply is slàinte mhath

  • Piotr.Rodak (2/10/2010)


    Yes, there is procedure sp_start_job, you can have a look.

    HTH

    Piotr

    This procedure is located in the msdb database. If your connection is to another database, you would execute like this:

    exec msdb.dbo.sp_start_job

    For the parameters, look it up in BOL (Books Online).

  • wonderful... it is really usefull..

    Kindest Regards,
    Paarthasarathy
    Microsoft Certified Technology Specialist
    http://paarthasarathyk.blogspot.com

Viewing 4 posts - 1 through 3 (of 3 total)

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