Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Replication / July 2008

Tip: Looking for answers? Try searching our database.

issues with triggers in transaction replication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anuradha - 29 Jul 2008 09:50 GMT
Hi,

I am making of sql 2005 - transaction replicaton.

data flows from the publisher to the subscriber - staging tables. From the
staging tables we want the data to move to the transaction tables at the
subscriber end.

We are moving the data to the transaction table by having triggers in the
staging tables.

say tblx from publisher will move to tblStgX in the subscriber. then we have
some trigger in tblStgX , which ports it to tblX in the subscriber end.

but these triggers are not getting fired the first time when the
subscription is set up (when data is read from the initial snapshot).  how
can i trun this trigger on? any help

pls. tell me if the approach is rite, or u have any other suggestion to this.

thnks in advance

--anu
Hilary Cotter - 30 Jul 2008 11:54 GMT
In SQL 2005 you will need to use the fire triggers option during the
snapshot deployement.

Have a look at @fire_triggers_on_snapshot on the sp_addarticle proc.

On Jul 29, 4:50 am, Anuradha <Anura...@discussions.microsoft.com>
wrote:
> Hi,
>
[quoted text clipped - 19 lines]
>
> --anu
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.