Results 1 to 2 of 2

Thread: How can I run a scheduled job from within store procedure

  1. #1
    Ali Alhussein Guest

    How can I run a scheduled job from within store procedure


    hi, want to create a job to run when some changes happend in a table. I thought of creating the job in job folder under sql server agent. I could not figure out how to call this job from within store procedure or from a trigger when a value of a field changes.

    Any help in this. thanks alot

    Ali

  2. #2
    Gary Andrews Guest

    How can I run a scheduled job from within store procedure (reply)

    Run sp_start_job


    ------------
    Ali Alhussein at 7/31/01 4:44:00 PM


    hi, want to create a job to run when some changes happend in a table. I thought of creating the job in job folder under sql server agent. I could not figure out how to call this job from within store procedure or from a trigger when a value of a field changes.

    Any help in this. thanks alot

    Ali

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •