all groups > sql server replication > june 2004 >
You're in the

sql server replication

group:

Change the contraint on a published table


Re: Change the contraint on a published table Paul Ibison
6/30/2004 4:50:43 PM
sql server replication:
Warren,
try using sp_addscriptexec.
HTH,
Paul Ibison

Change the contraint on a published table Warren Patterson
6/30/2004 5:45:14 PM
Hi,


Is it possible to remove/change a constraint on a table that has been
published, without reinitilising the subscriber?


Setup:

Merge Replication
Subscribers initiate a pull subscription


Kind Regards
Warren Patterson

Re: Change the contraint on a published table Warren Patterson
7/1/2004 8:07:12 AM
Hi Paul,

Thanks for your reply.

Unfortunately sp_addscriptexec is buggy and does not work via FTP. It would
solve my problem if it worked in my scenario, but unfortunately, the guys at
Microsoft told me that the reason sp_addscriptexec does not work via FTP is
due to the fact it tries to resolve the FTP address as a UNC path or
something like that.

Do a search in this news group for "Failed to apply script using 'osql'
utility (sp_addscriptexec)" I created a whole thread dedicated to this
issue.


Any other ideas?

Kind Regards
Warren Patterson



[quoted text, click to view]

Re: Change the contraint on a published table Paul Ibison
7/1/2004 8:55:19 AM
Warren,
thanks for the info - found your thread on
http://www.mcse.ms/archive95-2004-5-641761.html.
If sp_addscriptexec doesn't work for your case, the only way I can see of
solving this issue is manually - linked servers, EM, QA etc
Regards,
Paul Ibison

Re: Change the contraint on a published table Warren Patterson
7/2/2004 3:33:28 PM
Thanks Paul,

I was afraid that that was the only way.

Well, guess I need to make the 5000km+ round trip :-)


Kind Regards
Warren Patterson




[quoted text, click to view]

AddThis Social Bookmark Button