Uncategorized

SQLServerCentral Editorial

Looking for New Blood

  • Editorial

You may not be old, but I sure am. As I travel around to all the different conferences to speak, whether we're talking a dev conference, SQL Server, or PostgreSQL, one of the topics that keeps coming up is age. The age of the organizers. It's mostly the same people putting on events for the […]

(1)

You rated this post out of 5. Change rating

2026-09-05

267 reads

SQLServerCentral Article

How Can SQL Server Detect Application Errors When Developers Can’t?

  • Article

How a simple Extended Events session can turn you from a silent guardian to a developer’s best ally. There is an old, undeniable paradox in the life of a Database Administrator: If you do your job perfectly, nobody remembers you exist, only when you resolve problems. When queries are fast, backups are pristine, and the […]

(5)

You rated this post out of 5. Change rating

2026-08-31

2,262 reads

SQLServerCentral Editorial

Learn From History

  • Editorial

I've just spent a week in the UK visiting the Redgate HQ with my fellow advocates. I'm really blessed to get to work with such a great bunch of people. A couple of the conversations we had stuck with me and I'd like to share them here. Sitting in the midst of Cambridge, Cambridgeshire, UK, […]

(1)

You rated this post out of 5. Change rating

2026-08-15

154 reads

Technical Article

Stairway to Reliable Database Deployments Level 6 – Managing Changesets Over Time

  • Stairway Step

As database changesets accumulate over time, they gradually become more than deployment artifacts. This level explores how a well-organized changeset library evolves into a replayable representation of the database’s structural history, supporting not only reliable deployments but also reconstruction, auditing, and long-term maintainability. Through practical examples and a real-world case study, it shows why maintaining coherent Create and Rollback scripts continues to provide value long after a successful production deployment.

You rated this post out of 5. Change rating

2026-08-05

649 reads

SQLServerCentral Editorial

VACATION!

  • Editorial

Yeah, I've got the Go-Go's running in my head because I'm going on vacation tomorrow (holiday for you UK types). I've been slogging through a really dense book, War in Human Civilization. Total recommendation. Get it. Read it. However, I'm right near the end and there's been a lot of discussion about the impact of […]

You rated this post out of 5. Change rating

2026-08-01

141 reads

SQLServerCentral Editorial

AI Observability Challenges in FinOps as a DBA

  • Editorial

I was performing research for requested AI work and noticed that I was viewing the risks from a database perspective.  As the saying goes in the tech industry, “Once a DBA always a DBA…”  As foreign as some of the views were, much of it feels familiar and I simply begin to look at it […]

(1)

You rated this post out of 5. Change rating

2026-07-25

137 reads

Blogs

A Last Minute Trip to the EU

By

My life has some crazy travel stretches for sure. Between speaking, office visits, customer...

Part 3 of 3: Tuning DiskANN — R, Alpha, L, Beam Width, Recall and Latency

By

In Part 1, we saw how ‘Vamana’ represents vectors as nodes, connects them with...

Automated SQL Server Benchmarking with HammerDB and Docker: A Complete Testing Framework

By

I’m excited to announce the release of a new open-source project that fully automates...

Read the latest Blogs

Forums

ORDER BY alias

By aniap

Comments posted to this topic are about the item ORDER BY alias

Optional Parameter Plan Optimization in SQL Server 2025: Fixing the Kitchen-Sink Search Procedure

By vgupta

Comments posted to this topic are about the item Optional Parameter Plan Optimization in...

AI Experience Gap that we keep talking about

By Pat Wright

Comments posted to this topic are about the item AI Experience Gap that we...

Visit the forum

Question of the Day

ORDER BY alias

There is a table tmp_tab:

CREATE TABLE tmp_tab (
id int,
val int
);
INSERT INTO tmp_tab VALUES
(1, 1),
(2, NULL),
(3, 3),
(4, 4),
(5, 5);
You want to order the rows ids by the following expression:
    ISNULL(val, id) + 1
Which of the following queries produces the expected ordering and why? (Select all correct)

See possible answers