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,331 of 19,505   
   Gene Wirchenko to esquel@sommarskog.se   
   Re: SSE 2008: Transactions and Rollbacks   
   19 May 11 13:10:17   
   
   XPost: microsoft.public.sqlserver.programming   
   From: genew@ocis.net   
      
   On Wed, 18 May 2011 23:39:09 +0200, Erland Sommarskog   
    wrote:   
      
   >Gene Wirchenko (genew@ocis.net) writes:   
      
   [snip]   
      
   >This is getting confusing even for me! You see, normally RAISERROR does not   
   >terminate the batch, even if XACT_ABORT is on. But yes, in a trigger.   
   >This is probably for compatibility reasons.   
      
        It does not say why it normally does.  I think the reason is that   
   a raiserror() with a severity >=11 triggers the catch block, but it is   
   not documented (that I can see).   
      
   [snip]   
      
        Thank you for some of the help.  I would write "all", but I feel   
   I will probably need more later.  I would rather have better   
   documentation instead of all of this educated guessing.   
      
   Sincerely,   
      
   Gene Wirchenko   
      
   --- 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