not able to clean subscription by sp_mergesubscription_cleanup?

Hi i am using this proc at subscriber as

sp_mergesubscription_cleanup 'xx.xxx.xxx.xxx (public IP)','pubDBNAME','PUBNAME' but this is not working

when i use to delete like this sp_mergesubscription_cleanup 'sysname','pubDBNAME','PUBNAME' this is working

how to make proc work with public ip

regards bhuvan

more ▼

asked Jun 15, 2011 at 09:50 PM in Default

avatar image

220 19 19 24

(comments are locked)
10|1200 characters needed characters left

1 answer: sort voted first

As per my knowledge you cannot pass the IP Address to publisher parameter in sp_mergesubscription_cleanup, you can use the server name only.

more ▼

answered Jun 15, 2011 at 10:21 PM

avatar image

10.8k 37 58 51

so how do i clean subscription when i am in VPN

Jun 15, 2011 at 11:51 PM Bhuvans

actually after the successfull replication i need to delete the subscription. i am doing this by VPN.. then how to delete this in subscriber in T-SQL or RMO or anything

Jun 15, 2011 at 11:52 PM Bhuvans

I am not sure whether the following will work, but will not harm you by any way, so you can try this. Create a Alias name for the Public IP Server in SQL Server Configuration Manager and try to use that alias name in sp_mergesubscription_cleanup. Good luck :)

Jun 16, 2011 at 01:18 AM Cyborg
(comments are locked)
10|1200 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

SQL Server Central

Need long-form SQL discussion? SQLserverCentral.com is the place.



asked: Jun 15, 2011 at 09:50 PM

Seen: 2102 times

Last Updated: Jun 15, 2011 at 09:50 PM

Copyright 2018 Redgate Software. Privacy Policy