Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.ms-sqlserver > #770
| From | Erland Sommarskog <esquel@sommarskog.se> |
|---|---|
| Newsgroups | comp.databases.ms-sqlserver |
| Subject | Re: SQL Agent job RAISEERROR roll-up |
| Date | 2011-11-01 22:17 +0100 |
| Organization | Erland Sommarskog |
| Message-ID | <Xns9F90E2B86E0C7Yazorman@127.0.0.1> (permalink) |
| References | <e5f0f35a-1624-40ff-aff9-877c1156d5bd@a12g2000vbz.googlegroups.com> <Xns9F8FE71831DYazorman@127.0.0.1> <3534eba6-eb7c-487e-b06a-a37cdb91b6f7@g7g2000vbv.googlegroups.com> <8d4ae597-e41f-4344-96b0-a0cc75c4964e@v5g2000vbh.googlegroups.com> |
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
Back to comp.databases.ms-sqlserver | Previous | Next — Previous in thread | Find similar
SQL Agent job RAISEERROR roll-up JAW <jwilliam@aglresources.com> - 2011-10-31 11:51 -0700
Re: SQL Agent job RAISEERROR roll-up Erland Sommarskog <esquel@sommarskog.se> - 2011-10-31 22:43 +0100
Re: SQL Agent job RAISEERROR roll-up JAW <jwilliam@aglresources.com> - 2011-11-01 07:02 -0700
Re: SQL Agent job RAISEERROR roll-up JAW <jwilliam@aglresources.com> - 2011-11-01 09:39 -0700
Re: SQL Agent job RAISEERROR roll-up Erland Sommarskog <esquel@sommarskog.se> - 2011-11-01 22:17 +0100
csiph-web