Alessandro Alpi

Alessandro works in the IT since 2000. He started the DBA career since 2005. It's CTO and co-founder of Engage IT Services S.r.l. in which he's the Team Leader. He manages the development team with a continuous improvement pattern using agile practices. He designed the SQL Server automated deployment in his company using the RedGate tools and Visual Studio Team Services. Thanks to this, he's now Friend Of RedGate. Alessandro is also a teacher for SQL Server and ALM topics and a Translation Community Contributor on the official MS documentation. He's staff member of GetLatestVersion.it. He is also the organizer of some italian online and offline events, like PASS SQL Saturdays and DevOpsHeroes. He's the local organizer of SQL Saturday Parma. He's Certified Disciplined Agile Practitioner.

Blog Post

A 2015 full of DLM

After SQL Saturday Pordenone, I’ll keep speaking about DLM (aka ALM on databases) during the following events:
PASS Italian Virtual Chapter, April 14. I’ll demonstrate...

2015-03-24

272 reads

Blog Post

A 2015 full of DLM

After SQL Saturday Pordenone, I’ll keep speaking about DLM (aka ALM on databases) during the following events:
PASS Italian Virtual Chapter, April 14. I’ll demonstrate...

2015-03-24

529 reads

Blogs

KDA: Echoes of Deception - Case 6

By

A cryptic message, a book cipher hidden in art provenance records, and a trail...

Capturing My Own Metrics: #SQLNewBlogger

By

A customer was trying to compare two tables and capture a state as a...

Red Flags in Your Query (T-SQL Tuesday #200)

By

When I'm looking at a query, I bet it's bad if I see... a...

Read the latest Blogs

Forums

Alamat Kontak Bank BCA KCP Surabaya WA {08218154393}

By layanan 24jam BCA

WA:08218154393 Jl. Surabaya No.88 B-C, Ps. Baru, Kec. Medan Kota, Kota Medan, Sumatera Utara...

Alamat Kontak Bank BCA KCP Perak WA {08218154393}

By Halo_BCA

WA:08218154393 Jl. Perak Bar. No.267, Perak Utara, Kec. Pabean Cantian, Surabaya, Jawa Timur 60165

BIT_COUNT II

By Steve Jones - SSC Editor

Comments posted to this topic are about the item BIT_COUNT II

Visit the forum

Question of the Day

BIT_COUNT II

In SQL Server 2025, I have a table (dbo.UserPermission) that contains this data:

UserID  UserPermissions
15
23
37
4       NULL
What is returned when I run this code:
select bit_count(UserPermissions) as PermissionCount
from dbo.UserPermission
where UserID = 4;

See possible answers