Articles

SQLServerCentral Article

Understanding SQL Server PARTITION BY with Examples

Introduction When developers first learn SQL aggregation, they usually start with the GROUP BY clause. It works well for summary reports because it combines multiple rows into a single result for each group. For example, you can calculate total sales per region or average salary per department. The limitation of GROUP BY appears when you […]

(1)

You rated this post out of 5. Change rating

2026-06-05

3,806 reads

SQLServerCentral Article

Complex Data Processing with dbt Python Models: The Fabric Modern Data Platform

Data build tool (dbt) is an open-source command line tool that helps engineers transform data using SQL scripts.  However, there are limitations to what can be done with the Structure Query Language (SQL).  That is where dbt Python models can be used to perform complex tasks.  A dbt Python model is a function that reads […]

You rated this post out of 5. Change rating

2026-06-03

2,451 reads

SQLServerCentral Article

Using Containers to Avoid Installing SQL Server

I got a new laptop recently and instead of installing SQL Server, I decided to try and use containers to see how well this works. This article looks at how I got this working relatively quickly. The short list of things I did is: Install Docker Desktop Create a location for data/logs/etc. Create a docker-compose […]

(2)

You rated this post out of 5. Change rating

2026-06-02 (first published: )

7,041 reads

SQLServerCentral Article

Five SQL Server 2022 T-SQL Functions You Should Be Using Right Now

SQL Server 2022 brought powerful new T-SQL functions that eliminate long-standing workarounds. This article walks through five of the most impactful additions — GENERATE_SERIES, GREATEST/LEAST, DATE_BUCKET, the WINDOW clause, and IS NOT DISTINCT FROM — with practical code examples you can use immediately.

(10)

You rated this post out of 5. Change rating

2026-05-29

6,368 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

ALAMAT BCA KCU TEBING TINGGI TLP/WA 08217555651

By R4nt4u

Hub Cs: 08217555651 Jl. Jend. Sudirman No. 225-227-229-231, Badak Bejuang, Kec. Tebing Tinggi Kota,...

ALAMAT KANTOR BCA KCU KISARAN TLP/WA 08217555651

By layanan_Bca88

Hub Cs: 08217555651 Jl. Cokro Aminoto No.28, Kisaran Kota, Kec. Kota Kisaran Barat, Kabupaten...

ALAMAT BCA KCU PEMATANG SIANTAR TLP/WA 08217555651

By m4rt1n4

TLP/CS 08217555651 Jl. Merdeka No.39, Proklamasi, Kec. Siantar Bar., Kota Pematang Siantar, Sumatera Utara...

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