Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.databases.ms-sqlserver > #770
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Erland Sommarskog <esquel@sommarskog.se> |
| Newsgroups | comp.databases.ms-sqlserver |
| Subject | Re: SQL Agent job RAISEERROR roll-up |
| Date | Tue, 01 Nov 2011 22:17:15 +0100 |
| Organization | Erland Sommarskog |
| Lines | 18 |
| 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> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252 |
| Content-Transfer-Encoding | 8bit |
| Injection-Info | mx04.eternal-september.org; posting-host="nBFDv6s1VJQDuF1w6hpX2A"; logging-data="1400"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18iBPTDw/hk6UgTfH/NcmPL" |
| User-Agent | Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) |
| Cancel-Lock | sha1:TS7iBvpOD0KlqKMAiSZSshoi/XM= |
| Xref | x330-a1.tempe.blueboxinc.net comp.databases.ms-sqlserver:770 |
Show key headers only | View raw
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