May 11, 2012

sp_MSenumcolumnslightweight (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_MSenumcolumnslightweight(uniqueidentifier @pubid
, uniqueidentifier @artid)


 create procedure sys.sp_MSenumcolumnslightweight  
@pubid uniqueidentifier,
@artid uniqueidentifier
declare @retcode int
declare @procname sysname
declare @postfix nchar(32)

exec @retcode= sys.sp_MSreplcheck_publish
if @@error <> 0 or @retcode <> 0 return (1)

select @postfix= procname_postfix
from dbo.sysmergearticles
where artid = @artid and pubid = @pubid

set @procname= quotename('MSmerge_lws_sp_multi_' + @postfix)

exec @retcode= @procname @action=6
if @@error<>0 or @retcode<>0 return (1)

return 0

No comments:

Post a Comment

Total Pageviews