title: How to make a SQL Server agent job step failure on purpose
body: <p>I have a process and the first step is to check status of other process. If the other process is done I would want to run the rest steps and if not I would want to quit the job.</p>
  
  <p>I have a table that looks into the status and if all done it will mark as 'done'. So what should I put in the first step so that when the status is not 'done', it makes step 1 fail?</p>