dbTalk Databases Forums  

Updating a merge replication

microsoft.public.sqlserver.replication microsoft.public.sqlserver.replication


Discuss Updating a merge replication in the microsoft.public.sqlserver.replication forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David
 
Posts: n/a

Default Updating a merge replication - 12-18-2006 , 01:03 PM






We have an SQL 2000 merge replication set that consists of 2 publications.
One is for tables only and the other is for SQL views and stored procs.

I need to create a new table and revise some triggers in other tables. I
also have to add a new SQL view that will be a merge object also. Can I do
all of this in code and then re-create both publications? Thanks.

David



Reply With Quote
  #2  
Old   
Hilary Cotter
 
Posts: n/a

Default Re: Updating a merge replication - 12-18-2006 , 09:53 PM






I normally put all my schema only objects in a snapshot publication. This
way each time the snapshot agent runs and distributes the schema only
objects all modifications to these objects (procs, views, and functions) are
replicated. If they are part of a transactional or merge publication changes
to schema only objects will not be picked up.

Another option is to use sp_addscriptexec to run a script on all unc
deployed subscribers.

To add a new table try to use sp_addmergearticle. This may require a new
snapshot for all articles.

You can add/modify/drop triggers on merge published/subscribed tables.

--
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



"David" <dlchase (AT) lifetimeinc (DOT) com> wrote

Quote:
We have an SQL 2000 merge replication set that consists of 2 publications.
One is for tables only and the other is for SQL views and stored procs.

I need to create a new table and revise some triggers in other tables. I
also have to add a new SQL view that will be a merge object also. Can I
do all of this in code and then re-create both publications? Thanks.

David




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.