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 / May 2006

Tip: Looking for answers? Try searching our database.

NOT FOR REPLICATION usage

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
maxzsim - 29 May 2006 02:16 GMT
Hi All ,


I read from BOL abt this NOT FOR REPLICATION is uses primarily for identity
values.

I have the following situation

I am creating a trigger that actually updates/insert records into tblA in
DB_A but this tblA is involved in replication to tblA in DB_B so should the
"NOT FOR REPLICATION" be used in the trigger ?

appreciate ur advice

tks & rdgs
Hilary Cotter - 29 May 2006 14:42 GMT
Yes, it should be used if

1) the table the trigger is writing to is not published.
2) you need the trigger to be enforced on the subscriber for DML originating
on the Subscriber from non-replication processes

Signature

Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com

> Hi All ,
>
[quoted text clipped - 12 lines]
>
> tks & rdgs
maxzsim - 31 May 2006 06:13 GMT
tk you

>Yes, it should be used if
>
[quoted text clipped - 7 lines]
>>
>> tks & rdgs
 
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



©2009 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.