May 14, 2012

sp_MSFixSubColumnBitmaps (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_MSFixSubColumnBitmaps(uniqueidentifier @artid
, varbinary @bm)

MetaData:

 create procedure sys.sp_MSFixSubColumnBitmaps  
@artid uniqueidentifier,
@bm varbinary(128)
as
declare @missing_col_count int
declare @retcode int

-- Security check
if 1 <> is_member('db_owner')
begin
RAISERROR (15247, 11, -1)
return (1)
end

exec @retcode= sys.sp_MSBitmapCount
@bm1= @bm,
@count= @missing_col_count output

update dbo.sysmergearticles
set missing_cols = @bm,
missing_col_count = @missing_col_count
where artid = @artid

return (0)

No comments:

Post a Comment

Total Pageviews