Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

sp_changearticle articlename parameter is mandatory?

$
0
0

I'm trying to perform bulk update on Replication publication storedprocs. I'm using sp_changearticle so do I have to specify the article name? Change is very much going to all the stored proc. its treating ins_cmd as an article name and I don't want to specify article name. Appreciate if someone please advise on the below

Below is my script appreciate if somebody please advise

WHILE(@LoopCounter <= @MaxRec)
Begin
--below picks up the updated command from tmptable
select @inscmd =(select article30 from #tmptable where article9 like'%_v03')

exec sp_changearticle 'BranchDB_One',
'ins_cmd',
@inscmd
End

Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>