Results 1 to 3 of 3

Thread: SQL Server Jobs

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    8

    Thumbs up

    Could somebody tell me if it is possible to call the jobs(which is in the SQL Sever Agent) in VB 6.0?
    If so, How?

    Many thanks



  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    I believe there's an extended stored procedure that'll let you get to it. You can also get to it by adding a reference to Microsoft SQLDMO in your program. You'll need SA authority _and_ you'll want to play with the Jobs collection.

  3. #3

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    8

    Smile

    Yes JHausmann, I got it.
    There is a system stored procedure in msdb which is called sp_start_job that can start the job in SQL Server Agent.

    Thanks a lot.


Posting Permissions

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



Click Here to Expand Forum to Full Width