THE SQL Server Blog Spot on the Web

Welcome to SQLblog.com - The SQL Server blog spot on the web Sign in | |
in Search

Browse by Tags

All Tags » SQL 2008 » set-based » exercises   (RSS)
  • Bit-Twiddling in SQL

    Someone posted a question to the SQL Server forum the other day asking how to count runs of zero bits in an integer using SQL.  Basically the poster wanted to know how to efficiently determine the longest contiguous string of zero-bits (known as a run of bits) in any given 32-bit integer.  Here are a couple ...
    Posted to Michael Coles: Sergeant SQL (Weblog) by Mike C on April 3, 2010
Powered by Community Server (Commercial Edition), by Telligent Systems
  Privacy Statement