BIT_COUNT in SQL Server

  • Comments posted to this topic are about the item BIT_COUNT in SQL Server

  • Aside from the example given in "Using BIT_COUNT() with a Table" not being a particularly useful example as counting the number of permission bits set is rather unhelpful compared to checking if a specific permission bit is set, the example could be improved by defining that bit 0=read, bit 1=write and bit 2=delete as without this there is no context.

  • why 3 columns with 3 numbers to make sense ...just 1 number

    search replace script with powerful regex ( example python ) is the best so far

    ... unless usng AI

     

    Screenshot 2026-08-07 175845

    • This reply was modified 2 weeks, 6 days ago by naumon765.
    • This reply was modified 2 weeks, 6 days ago by naumon765.
    • This reply was modified 2 weeks, 6 days ago by naumon765.
    • This reply was modified 2 weeks, 6 days ago by naumon765.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply