Re: changing table owner name- sp_changemergearticle
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Fri, 2 Jun 2006 08:09:34 -0400
It works for me, here is what I use:
sp_changemergearticle 'pubs2','authors','destination_owner','newownername'
,@force_invalidate_snapshot=1,@force_reinit_subscription=1
--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.
This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.
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
<amritha.prabhu@xxxxxxxxx> wrote in message
news:1149248072.423451.171750@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I have a db with a few tables which has owner than dbo. When i use this
db for merge replication it creates tables with owner as dbo on the
subscriber.
In order to avoid this i went to the article properties on the
publisher and changed the destination owner to the 'other user' not
'dbo' and created the subscription again it worked fine.
Now my question is how can i change the article settings through the
stored proc "sp_changemergearticle". I tried using this but its saying
incorrect syntax when i execute it.? I am new to this field.. Can any
one help me out on this..
If an example could be given it could be of great help.
Thanks,
A
.
- Follow-Ups:
- Re: changing table owner name- sp_changemergearticle
- From: amritha . prabhu
- Re: changing table owner name- sp_changemergearticle
- References:
- changing table owner name- sp_changemergearticle
- From: amritha . prabhu
- changing table owner name- sp_changemergearticle
- Prev by Date: changing table owner name- sp_changemergearticle
- Next by Date: Re: changing table owner name- sp_changemergearticle
- Previous by thread: changing table owner name- sp_changemergearticle
- Next by thread: Re: changing table owner name- sp_changemergearticle
- Index(es):
Relevant Pages
|