Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2008

    Unanswered: query to find the jobs started running for a time interval from sysjobhistory

    everyday I have to send an mail to the admin about the jobs

    status that are started running from the previous day 9.00 a.m

    to today 9 a.m from the table sysjobhistory in sql server

    msdb database.But in that table , date and time are seperately

    present. also they are of datatype 'int'.
    pls anyone tell the query extract the jobs that are running

    between the specified time interval

  2. #2
    Join Date
    Jul 2003
    San Antonio, TX
    INT can be converted to varchar using TSQL, and vise versa.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

Posting Permissions

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