Press "Enter" to skip to content

Day: November 30, 2026

What Was New for T-SQL Developers in SQL Server 2016

Jeff Taylor hits us with a few things:

For background, 2016 is the release where SQL Server started meeting developers where they already were. JSON came in. Security moved closer to the data with Always Encrypted, Dynamic Data Masking, and Row-Level Security. And for the first time, we got a built-in flight recorder for query performance with Query Store.

There’s a lot here, so let’s get started.

Jeff points out DATEDIFF_BIG(), which I had not used and did not know existed. In return, I would like to point out FORMATMESSAGE(), a function that I believe more people should know about. The downside to FORMATMESSAGE() is that there is no native date translation, so you’d have to convert dates to strings. But the upside is that you get f-string style support for writing outputs in T-SQL

Leave a Comment

The Pricing Trade-Off of On-Demand Microsoft Fabric Billing

Nikola Ilic takes F0 for a spin:

Most Fabric projects start with the same question: which SKU? F2, F8, F64? Basically, you had to pick a capacity before you knew your workload, and then live with that guess (or scale up/down if you chose the pay-as-you-go model).

On-demand billing, announced at FabCon Barcelona a few weeks ago and now in preview, changes the order. You can create an F0 capacity with zero provisioned CUs and pay only for what runs! You can also keep your existing capacity and move a single workload, such as Data Warehouse, to on-demand.

Instead of paying for a capacity whether you use it or not, you pay for the CU-hours you consume, at a rate that depends on the workload.

Two things work differently from provisioned capacity: there is no smoothing, and the rate ranges from 1x to 3x the pay-as-you-go price. Below are the mechanics, four real-life examples, and where on-demand saves money and where it costs more.

Click through for those scenarios and what each means for your wallet.

Leave a Comment

Finding Which Connections You’re Using in Microsoft Fabric

Greg Low performs a test:

I work with a lot of connections in Microsoft Fabric and one of the operations that’s still surprisingly hard, is working out if you can delete a connection that you think is unused. Back in Azure Data Factory and tools like it, I can directly see how many places a given connection is configured. But Fabric doesn’t show that.

But Greg has a fix for that.

Leave a Comment

Managed Identity per Database in Azure SQL DB

Pratim Dasgupta announces a new preview feature:

Say you’re building an AI assistant that answers questions about your customers’ shipments. Each customer has a database in Azure SQL Database and a private blob container full of files. The assistant doesn’t follow a fixed code path: what it reads depends on the question it’s asked. You’d like the boundary between Customer A’s files and Customer B’s to hold even if something above the database goes wrong.

Azure SQL Database can now draw that boundary at the database level. In this public preview, CREATE DATABASE SCOPED CREDENTIAL can use a managed identity that belongs to a single database, with external tables and OPENROWSET as the first features that use it. Software providers and enterprises can keep many databases on a shared logical server and still give each one its own storage permissions.

Click through to learn what was there before, why it isn’t enough, and what this provides.

Leave a Comment

Questions to Ask before Ingesting from an API

Andy Brownsword has a few questions:

Approaching new data sources for ingestion provides a wealth of freedom in how we tackle them. I’m fond of iterative design from the trenches, but for complex APIs it can be the wrong move. I find it useful to take a step back and answer these 3 questions before designing the right approach.

Recently I’ve been toying with the API for Octopus Energy and like most APIs it had its quirks when you get under its skin, so I’ll show how these questions were answered in that context.

Click through for three such questions.

Leave a Comment

The Cost of T-SQL Snapshot Backups on AG Secondaries

Andrew Pruski issues a revision:

In a previous post I talked about how we can use T-SQL Snapshot Backups to take application consistent snapshots of secondary replica databases. This gets around having to freeze IO on the primary database and I finished the post by saying…

But there we have it, a way to take application consistent snapshots of databases without having to worry about the effects of a stun on our applications.

Hmmmm…but does stunning/freezing/quiescing IO on a secondary really have no effect on transactions on the primary?

Read on for the answer.

Leave a Comment