home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.ms-sqlserver      Notorious Rube Goldberg contraption      19,505 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 18,492 of 19,505   
   Erland Sommarskog to JAW   
   Re: SQL Agent job RAISEERROR roll-up   
   01 Nov 11 22:17:15   
   
   b252f15d   
   From: esquel@sommarskog.se   
      
   JAW (jwilliam@aglresources.com) writes:   
   > If you set the serverity to 10 it works as expected also since 10 is   
   > treated as a informational error..   
      
   Actually, severity 10 is converted to severity 0, so RAISERROR with level   
   10, is just a complicated way of saying PRINT...   
      
   As I said, log the error to a table, and the raise an error at the end of   
   the job.   
      
      
   --   
   Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se   
      
   Links for SQL Server Books Online:   
   SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx   
   SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca