Blog Posts

Blog Post

IndiaAI Mission: Transforming India with AI Power!

IndiaAI Mission: Empowering India Through Artificial Intelligence🔹 Mission VisionThe IndiaAI initiative aims to harness the power of artificial intelligence to drive innovation, improve accessibility, and catalyze socio-economic development across...

2025-06-04

13 reads

Blog Post

IndiaAI मिशन: भारत को AI की ताकत से बदलने की तैयारी!

🔹 मिशन विज़नIndiaAI पहल का उद्देश्य आर्टिफिशियल इंटेलिजेंस की शक्ति का उपयोग करके नवाचार को बढ़ावा देना, पहुंच को बेहतर बनाना और देशभर में सामाजिक-आर्थिक विकास को गति देना है।...

2025-06-04

18 reads

Blog Post

Query multiple Azure SQL Databases

I was sick of changing context in Azure Data Studio while cleaning up things discovered in our vulnerability assessments. Changing things via PowerShell I wanted to be cautious with...

2025-06-04 (first published: )

430 reads

Blog Post

Stack Overflow & AI

I won’t try to pretend otherwise, I’ve had some mixed feelings about Stack Overflow for a long time. I think the concept of the place, ask a question, get...

2025-06-04 (first published: )

418 reads

Blog Post

KDA: Echoes of Deception - Case 2

The people of Digitown are being targeted by phishermen, and they need my help to stop them in their tracks.
The problem

The police have asked for our assistance, and we’ve...

2025-06-02 (first published: )

206 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 BCA KCU BANDUNG WA {08218154393}

By Layanan_24jam

WA:08218154393 Jl. Asia Afrika No.122-124, Paledang, Kec. Lengkong, Kota Bandung, Jawa Barat 40261

BIT_COUNT II

By Steve Jones - SSC Editor

Comments posted to this topic are about the item BIT_COUNT II

I Can't Make You Learn

By Steve Jones - SSC Editor

Comments posted to this topic are about the item I Can't Make You Learn

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