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,580 of 19,505   
   Gene Wirchenko to esquel@sommarskog.se   
   Re: Trigger help   
   05 Apr 12 08:19:21   
   
   From: genew@ocis.net   
      
   On Thu, 05 Apr 2012 09:08:12 +0200, Erland Sommarskog   
    wrote:   
      
   >Gene Wirchenko (genew@ocis.net) writes:   
   >>      I do not know quite enough to be sure, but I believe that your   
   >> trigger's insert is replacing the insert/update.  I believe you need   
   >> the magic word "AFTER":   
   >   
   >FOR and AFTER are equivalent.   
      
        Hmm, I must have gotten something a bit confused.  FOR with   
   INSTEAD OF?  Oh, well.  When I get back to the SQL Server side of my   
   app-to-be, I will have to pay more attention to triggers.  Thank you   
   for the correction.   
      
   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