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