Ed

Ed Leighton-Dick is a SQL Server performance and architecture expert and Founder/Principal Consultant of Kingfisher Technologies, a consultancy focused on SQL Server performance, architecture, and security. He is a frequent volunteer with PASS, including roles as regional mentor, chapter leader of I-380 PASS SQL Server User Group, and organizer of SQL Saturday Iowa City. He can often be found teaching sessions at local, regional, and national events, including user groups, SQL Saturday events, and Iowa Code Camp. Ed can be reached through his blog, edleightondick.com, and on Twitter at @eleightondick.

Blog Post

Giving back [T-SQL Tuesday #102]

This post is part of the May 2018 T-SQL Tuesday blog challenge, “Giving Back“, from Riley Major. It’s been quite a while since I’ve participated in a T-SQL Tuesday....

2018-05-08

9 reads

Blog Post

Giving back [T-SQL Tuesday #102]

This post is part of the May 2018 T-SQL Tuesday blog challenge, “Giving Back“, from Riley Major. It’s been quite a while since I’ve participated in a T-SQL Tuesday....

2018-05-08

7 reads

Blog Post

Giving back [T-SQL Tuesday #102]

This post is part of the May 2018 T-SQL Tuesday blog challenge, “Giving Back“, from Riley Major. It’s been quite a while since I’ve participated in a T-SQL Tuesday....

2018-05-08

5 reads

Blogs

Learn about Modern Microsoft Apps in San Diego

By

I wrote about learning today for the editorial: I Can’t Make You Learn. I...

How To Deploy Fabric SQL and Azure SQL Databases with Azure DevOps

By

Fabric has CI/CD built in, but if you've tried to use it for database...

A New Word: Attriage

By

attriage – n. the state of having lost all control over how you feel...

Read the latest Blogs

Forums

SSRS Reminded Me of the Time Microsoft Retired TMG

By Marko Coha

Comments posted to this topic are about the item SSRS Reminded Me of the...

Getting results from a Procedure to join to a query

By bswhipp

I have a need to execute a stored procedure and return the results to...

Upgrade 2016 Standard to 2022 Express

By pdanes

Title pretty much says it all - can this be done? I've tried several...

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