Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: Erland Sommarskog Newsgroups: comp.databases.ms-sqlserver Subject: Re: Trigger help Date: Wed, 04 Apr 2012 23:45:05 +0200 Organization: Erland Sommarskog Lines: 24 Message-ID: References: <11931752.1474.1333025246004.JavaMail.geo-discussion-forums@pbjv6> <17890250.1123.1333548317738.JavaMail.geo-discussion-forums@pbcoy7> 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="9192"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/zVEN4idsG+k2/mPqwNeEl" User-Agent: Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) Cancel-Lock: sha1:GAOzJNwk/zgowZAr5t1KxGjStDA= Xref: csiph.com comp.databases.ms-sqlserver:955 Johnnyb (john.lutheran@gmail.com) writes: > The table I'm adding this trigger to is replicated from another server. > When I add the trigger: >... > It stops the replication. What am I doing wrong? Didn't I say that it was simple to implement and a headache to get working? Did you try running the trigger on its own? What happens if use a table on the same database instead? Have you checked the replication logs for errors? (Sorry, I don't do replication very often, so I don't know on the top of my head where to look.) -- 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