Abort SQL Server Agent job from a step
I have an SQL Server Agent Job that consists of 5 steps. The first step checks
to see if a file exists on disk. If it does, then it performs some manipulation
and continues with the next step. However, if the file does not exist, the
next step is still invoked and fails because it needs the file. How can I
exit a step with an error? ie. If file does not exist, then quit entire job.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL