Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.sp_MSBitmapCount

  No additional text.


Syntax
create procedure sys.sp_MSBitmapCount
    @bm1 varbinary(128),
    @count int output
as
    declare @len1 int
    declare @idx  int
    declare @IsSet int

    set @len1= datalength(@bm1) * 8
    set @idx= 1
    set @count = 0

    while @idx <= @len1
    begin
        exec @IsSet = sys.sp_MStestbit @bm=@bm1, @coltotest=@idx
        if @IsSet <> 0
            set @count = @count+1
        set @idx= @idx+1
    end

    return 0

 
Last revision 2008RTM
See also

  sp_mergearticlecolumn (Procedure)
sp_MSdrop_rlcore (Procedure)
sp_MSFixPubColumnBitmaps (Procedure)
sp_MSFixSubColumnBitmaps (Procedure)
sp_MSmerge_altertable (Procedure)
       



News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash