how to add table and all its index for replication
From: Paul Ibison (Paul.Ibison_at_Pygmalion.Com)
Date: 01/10/05
- Next message: Kestutis Adomavicius: "Re: sp_repladdcolumn failure/Merge Replication Fails with Error 207 While Generating a Snapshot/KBArticle 821535"
- Previous message: Tony Toker: "Re: sp_repladdcolumn failure/Merge Replication Fails with Error 207 While Generating a Snapshot/KBArticle 821535"
- In reply to: Hassan: "how to add table and all its index for replication"
- Next in thread: Hassan: "Re: how to add table and all its index for replication"
- Reply: Hassan: "Re: how to add table and all its index for replication"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 Jan 2005 01:45:47 -0800
If you're talking about code as in stored procedure
calls, the stored procedures you need are:
exec sp_addarticle
exec sp_addsubscription or exec sp_refreshsubscriptions
I can script mine out for you and post them up, but it
would be more useful for you to create a dummy
publication and add the new articles using enterprise
manager. After they're created, right click the
publication and get EM to script out the publications.
Selecting the relevant sp_addarticle sp_and
addsubscription bits will give you what you need.
Rgds,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)
- Next message: Kestutis Adomavicius: "Re: sp_repladdcolumn failure/Merge Replication Fails with Error 207 While Generating a Snapshot/KBArticle 821535"
- Previous message: Tony Toker: "Re: sp_repladdcolumn failure/Merge Replication Fails with Error 207 While Generating a Snapshot/KBArticle 821535"
- In reply to: Hassan: "how to add table and all its index for replication"
- Next in thread: Hassan: "Re: how to add table and all its index for replication"
- Reply: Hassan: "Re: how to add table and all its index for replication"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|