I'm trying to schedule a job which would be running every morning and will check if any other jobs are running. I'm checking the sysprocesses table for program_name column and that would give me the job id. My issue being that when i convert this jobid to varbinary, it is different as compared to the jobid value in sysjobs. Please advise