morning all
Merge rep - it's a bitter sweet experience. Sometimes I really admire it and other times I'm tearing my hair out. The source of my latest frustration is that I have hit an overflow error when SQL tried to generate the dynamic snapshot job.
The stored proc involved , sp_MSadddynamicsnapshotjobatdistributor, has a variable defined as nvarchar(100). Had this been sysname, as it arguably should have been, I wouldn't be enduring an angst ridden Monday morning.
It's so tempting to edit the proc, but , of course , I won't.
It galls me
a) that the variable was so slackly defined
b) that there is no prior guidance as to how long-ish db and publication names can lead to this overflow once they are assembled together by the system SP to generate the job name.
That's the end of my rant but to leave with a question ... has anyone ever editied the Replication SPs to quickly get around an issue and did you live to regret it ?