June 7, 2012

sp_replpostsyncstatus (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

Definition:

sys.sp_replpostsyncstatus(int @pubid
, int @artid
, int @syncstat)

MetaData:

 create procedure sys.sp_replpostsyncstatus (  
@pubid int,
@artid int,
@syncstat int,
@xact_seqno binary(10) OUTPUT
)
as
declare @retcode int
--
-- Security Check, this proc is called by snapshot agent as DBO on publisher
--
exec @retcode = sys.sp_MSreplcheck_publish
if @@ERROR <> 0 or @retcode <> 0
begin
return(1)
end

exec @retcode = sys.sp_replpostsyncstatus_int @pubid, @artid, @syncstat, @xact_seqno OUTPUT
if @@ERROR <> 0 or @retcode <> 0
begin
return(1)
end
return 0

No comments:

Post a Comment

Total Pageviews