May 21, 2012

sp_MSmarkreinit (Transact-SQL MetaData) Definition

Please note: that the following source code is provided and copyrighted by Microsoft and is for educational purpose only.
The meta data is from an SQL 2012 Server.

I have posted alot more, find the whole list here.

Goto Definition or MetaData


sys.sp_MSmarkreinit(nvarchar @publisher
, nvarchar @publisher_db
, nvarchar @publication
, nvarchar @subscriber
, nvarchar @subscriber_db
, int @reset_reinit)


 CREATE PROCEDURE sys.sp_MSmarkreinit  
@publisher sysname,
@publisher_db sysname,
@publication sysname,
@subscriber sysname,
@subscriber_db sysname,
@reset_reinit int
set nocount on

-- This proc is used to mark the status in MSmerge_subscriptions and this status
-- is used to prevent expiry of <= 80 subscribers when they are marked for reinit
-- This proc is a security threat becuase any user with PAL access can set this staus
-- and influence the expiry of any arbitrary subscriber. Therefore, this proc is a no-op
-- in 90 and 80 & less subscribers who are marked for reinit will be expired as usual

No comments:

Post a Comment

Total Pageviews