Hello,
I'm trying to set up peer to peer replication entirely through scripts, but I'm having troubles with creation of all the sp_MSins_..., sp_MSdel_... and sp_MSupd_... stored procedures. As I understand they should be created automatically through sp_addarticle when the @schema_option parameter has the 0x02 flag. However, no such thing occurs - the stored procedures aren't created. I'm using the sp_addarticle e.g. this way:
exec sp_addarticle @publication = N'Test', @article = N'Tags', @source_owner = N'dbo',
@source_object = N'Tags', @type = N'logbased', @description = N'', @creation_script = N'',
@pre_creation_cmd = N'drop', @schema_option = 0x0000000008035DDF,
@identityrangemanagementoption = N'manual', @destination_table = N'Tags', @destination_owner = N'dbo',
@status = 24, @vertical_partition = N'false', @ins_cmd = N'CALL [sp_MSins_dboTags0745679936]',
@del_cmd = N'CALL [sp_MSdel_dboTags0745679936]', @upd_cmd = N'SCALL [sp_MSupd_dboTags0745679936]'
I would be grateful for any help in this matter.
Best regards,
Tadeusz Dracz