Quantcast
Channel: sqlsunday.com
Browsing index pages (28 articles)

The illogical longing for scarcity

This whole post is an off-topic shower-thought type of post, and has nothing to do with SQL Server. But as a fellow technologist, I think you might enjoy it anyway. I started thinking about nostalgia...

View Article


Image may be NSFW.
Clik here to view.

Off topic: My thoughts on value-based pricing

This is a topic that I’ve been passionate about for many years. I had a discussion with someone today that inspired me to actually write an article about it. So many of my consulting industry...

View Article


Image may be NSFW.
Clik here to view.

JSON indexes in SQL Server: First impressions

At the November announcement of SQL Server 2025, a ton of cool new features were unveiled. It’s obviously very heavy on AI and Fabric, but those are the times we live in. If you squint a little,...

View Article

Image may be NSFW.
Clik here to view.

The best ten years for movies were 1994-2003, and I have proof

Stay with me. This is not clickbait! I made you a script so you can create your own SQL Server database using the public IMDB dataset. All you need is a SQL Server 2022, Powershell 7, and a little...

View Article

Image may be NSFW.
Clik here to view.

Collect and report session feedback for your Data/SQL Saturday event!

In case you missed it, I designed a solution last year to collect session feedback for my annual Data Saturday Stockholm event, and I made this solution publicly available to anyone who runs a similar...

View Article


Dynamically updating Azure Network Security Groups

Today’s post is not about SQL Server, but if you’re working in Azure from a dynamic IP address, you might still find it useful. Recently, my home ISP has started changing my public IP address. This...

View Article

Image may be NSFW.
Clik here to view.

How to use Cloudflare R2 for SQL Server backups

R2 is Cloudflare’s own implementation of AWS S3 storage, with some big benefits – one of them being no egress fees, which is great if you want to publish or distribute a lot of data (like I did with...

View Article

Image may be NSFW.
Clik here to view.

T-SQL math patterns

As part of spending waaaaaay to much time trying to solve the 2023 Advent of Code challenges, I came across multiple instances where I had to dust off some old math that I hadn’t paid attention to...

View Article


Image may be NSFW.
Clik here to view.

How to join overlapping date ranges

You can get into a situation where you have two tables with values associated with date ranges. What’s worse, those date ranges don’t necessarily have to align, which can make joining them a seemingly...

View Article


Image may be NSFW.
Clik here to view.

Indexing for substring search

A question from a client got me thinking. Relational databases (at least the ones I know and love) can’t really index for queries that use LIKE queries for a substring of a column value. If you want...

View Article

Image may be NSFW.
Clik here to view.

The quirky and wonderful self-join optimization

This blog post started as a “what if” contemplation in my head: Suppose you have a reasonably large table with a clustered index and a number of non-clustered indexes. If your WHERE clause filters by...

View Article

Image may be NSFW.
Clik here to view.

A quick look at SQL Server UTF-8 collations

A client asked me about SQL Server collations, and if they should consider the new UTF8 collations (new since SQL Server 2019). I tried to hide my blank stare of ignorance, and promised them I’d look...

View Article

I ❤️ QUOTENAME()

An underrated, and perhaps less well-known T-SQL function is QUOTENAME(). If you haven’t heard of it, chances are that it could do wonders for your dynamic SQL scripts. To quickly recap quoting,...

View Article


Image may be NSFW.
Clik here to view.

The best ten years for movies were 1994-2003, and I have proof

Stay with me. This is not clickbait! I made you a script so you can create your own SQL Server database using the public IMDB dataset. All you need is a SQL Server 2022, Powershell 7, and a little...

View Article

Image may be NSFW.
Clik here to view.

Collect and report session feedback for your Data/SQL Saturday event!

In case you missed it, I designed a solution last year to collect session feedback for my annual Data Saturday Stockholm event, and I made this solution publicly available to anyone who runs a similar...

View Article


Dynamically updating Azure Network Security Groups

Today’s post is not about SQL Server, but if you’re working in Azure from a dynamic IP address, you might still find it useful. Recently, my home ISP has started changing my public IP address. This...

View Article

Image may be NSFW.
Clik here to view.

How to use Cloudflare R2 for SQL Server backups

R2 is Cloudflare’s own implementation of AWS S3 storage, with some big benefits – one of them being no egress fees, which is great if you want to publish or distribute a lot of data (like I did with...

View Article


Image may be NSFW.
Clik here to view.

T-SQL math patterns

As part of spending waaaaaay to much time trying to solve the 2023 Advent of Code challenges, I came across multiple instances where I had to dust off some old math that I hadn’t paid attention to...

View Article

Image may be NSFW.
Clik here to view.

How to join overlapping date ranges

You can get into a situation where you have two tables with values associated with date ranges. What’s worse, those date ranges don’t necessarily have to align, which can make joining them a seemingly...

View Article

Image may be NSFW.
Clik here to view.

Indexing for substring search

A question from a client got me thinking. Relational databases (at least the ones I know and love) can’t really index for queries that use LIKE queries for a substring of a column value. If you want...

View Article
Browsing index pages (28 articles)


Latest Images