Delete Snapshot Replication


when try drop publication in order:

exec sp_dropsubscription @publication = @publicname, @subscriber = @servname, @article = n'all'

exec sp_droppublication @publication = @publicname

i getting following error after dropping publication

msg 16943, level 16, state 4, procedure sp_msrepl_changesubstatus, line 1271

could not complete cursor operation because table schema changed after cursor declared.

msg 16943, level 16, state 4, procedure sp_msrepl_changesubstatus, line 1271

could not complete cursor operation because table schema changed after cursor declared.

could give me suggestion how avoid error?

thanks!

which if above 2 stored procs raising error, , version of sql server running?


SQL Server  >  SQL Server Replication



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'