anorthcote
Programmer
I have two jobs running on my server that import data to my database. The first step of the first job writes a value to a table when it starts and removes that value when it ends correctly.
I need the second job to test if a value exists in the table and error if there is a value there.
So what I need help with is writing a stored procedure that I can run as step 1 of the job that I can force to error if a value exists so I can set the job to 'quit with failure' on failure of the step.
Does that make sense?