all groups > sql server replication > july 2003 >
You're in the

sql server replication

group:

add a new article using sp_addsubscription


add a new article using sp_addsubscription Hassan
7/30/2003 10:52:33 PM
sql server replication: I know that an existing article can be dropped and added to a subscription
without deleting using sp_dropsubscription and sp_addsubscription as opposed
to the GUI

My question is can i add a new table or sproc to the current subscription ?
I am using SQL 2000


Re: add a new article using sp_addsubscription Valerie Andersen (MSFT)
7/31/2003 8:56:12 AM
Yes, you can add an incremental article. You can set
@force_invalidate_snapshot = 1 when adding the new article so that a new
snapshot is created after adding the incremental article.

Valerie [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm



[quoted text, click to view]

Re: add a new article using sp_addsubscription Valerie Andersen (MSFT)
7/31/2003 1:13:47 PM
Hassan,
Upon reviewing the title of your original post, I realize I may have
misunderstood your question. Do you want to add an additional, already
published article to an already existing subscriber or are you looking to
publish an additional article to an already existing publication?

Thx,--
Valerie [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

[quoted text, click to view]

Re: add a new article using sp_addsubscription Hassan
7/31/2003 2:41:59 PM
Publish an additional article to an existing publication and then add it to
a subscritption without deleting the subscription first 'cos i do not want
to disturb the replication of existing articles


[quoted text, click to view]

Re: add a new article using sp_addsubscription Valerie Andersen (MSFT)
8/1/2003 8:56:29 AM
Thanks for clarifying.

Yes, you can add an incremental article. You need to add the aritcle with
sp_addarticle and then call sp_addsubscription to subscribe to your new
article

--
Valerie [MSFT]

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm

[quoted text, click to view]

AddThis Social Bookmark Button