May 24, 2012

sp_MSmerge_getgencur_public (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_MSmerge_getgencur_public(int @tablenick
, int @changecount)

MetaData:

   
create procedure sys.sp_MSmerge_getgencur_public (
@tablenick int, -- tablenick for gen
@changecount int, -- number of changes to put in gen
@gen_cur bigint output
)
as
begin
declare @gen bigint
declare @retcode int

exec @retcode = sys.sp_MSrepl_PAL_rolecheck @tablenick = @tablenick
if @retcode <> 0 or @@error<> 0
return 1

exec @retcode = sys.sp_MSmerge_getgencur @tablenick, @changecount, @gen_cur output

return 0
end

No comments:

Post a Comment

Total Pageviews