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

Tip: Looking for answers? Try searching our database.

Not for replication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Pauly C - 29 Mar 2006 05:27 GMT
Is there a way to add the "Not for replication" switch for triggers and
foreign keys other then dropping and adding them again?

Thanks in advance,
Pauly C
Paul Ibison - 29 Mar 2006 08:53 GMT
You can use ALTER TRIGGER but for the FKs you'll need to drop and recreate.
These scripts can help you identify them:
http://www.replicationanswers.com/Script15.asp
http://www.replicationanswers.com/Script11.asp
 Cheers,
          Paul Ibison SQL Server MVP, www.replicationanswers.com
            (recommended sql server 2000 replication book:
            http://www.nwsu.com/0974973602p.html)
Pauly C - 29 Mar 2006 14:51 GMT
Paul,

Thank you for the links, I’ve already used those scripts since I have your
site bookmarked .  I had to write a script to deploy the NFR attribute
addition.  I wrote a script last night just incase there wasn’t a way to just
flick the NFR switch on them.  I can send it to you if you like; it seems to
be working pretty well.

Thank you
Pauly C

> You can use ALTER TRIGGER but for the FKs you'll need to drop and recreate.
> These scripts can help you identify them:
[quoted text clipped - 4 lines]
>              (recommended sql server 2000 replication book:
>              http://www.nwsu.com/0974973602p.html)
Paul Ibison - 29 Mar 2006 16:21 GMT
Please can you post it here so others can see it, and please also send it to
paul . ibison @ replicationanswers . com and I'll post it up (under your
name).
Cheers,
Paul

> Paul,
>
[quoted text clipped - 18 lines]
>>              (recommended sql server 2000 replication book:
>>              http://www.nwsu.com/0974973602p.html)
 
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.