Live registration reopens October 1, 2026, in 8d 11h 06mNotify me

Author: Brent Ozar

I make Microsoft SQL Server go faster. I love teaching, travel, cars, and laughing. I'm based out of Las Vegas. He/him.

[Video] Office Hours from Iceland’s Glacier Lagoon

Prefer listening to this via podcast? Good news! You can now subscribe to Office Hours on Spotify, Apple Podcasts, Podcast Index, Podcast Addict, Podchaser, and anywhere else fine podcasts are sold. One of my most favorite spots on earth is Jökulsárlón and Diamond Beach. The glacier Vatnajokull is slowly melting into the sea, and pieces…

Read more about [Video] Office Hours from Iceland’s Glacier Lagoon 5 comments — Join the discussion

How to Format Your Queries in SSMS

Microsoft SQL Server Management Studio 22.7 added the ability to format your T-SQL queries by right-clicking and clicking Format SQL, or by hitting control-K, control-Q on your keyboard:

You're probably not going to like the default formatting out of the box because you're the kind of person who has strong, passionate feelings and likes to argue about them on the Internet. Good news! The configurations are really flexible. Go into Tools, Options, SQL Formatter:

Read more about How to Format Your Queries in SSMS 10 comments — Join the discussion

[Video] Office Hours at Iceland’s Most Famous Waterfall

Iceland has some pretty famous waterfalls, from Þórufoss and Skógafoss in Game of Thrones, to Háifoss in Stranger Things, to Dettifoss in Prometheus, and more. However, probably the most-photographed one is Seljalandsfoss, partially because of its easy access from the Ring Road, and partially because of, uh, Justin Bieber's video for I'll Show You. That video is also a pretty good intro to the greatest hits of Iceland's south coast.

Read more about [Video] Office Hours at Iceland’s Most Famous Waterfall Be the first to comment
News & Opinion

5 Reasons You Should Hire Richie Rump Today.

We're discontinuing our apps (not the First Responder Kit scripts, just the apps), which means I'm laying off Richie Rump, my developer that's worked with me for the last decade.

Calling him "my developer" doesn't do justice to Richie's role here, and he's really humble, so I wanted to lay out the top 5 reasons you should hire him.

Read more about 5 Reasons You Should Hire Richie Rump Today. 13 comments — Join the discussion
T-SQL & Development

Get Your Blog Posts Ready for T-SQL Tuesday #200. Here’s the Topic.

Way back in December of 2009, Adam Machanic published a blog post (archive) in which he invited database bloggers to participate in a new monthly event he called T-SQL Tuesday. Each month, he (or a blogger he picked) proposed a topic, and on that date, we'd all publish our blog posts at the same time. It was a fun way to get a variety of opinions about a topic.

Read more about Get Your Blog Posts Ready for T-SQL Tuesday #200. Here’s the Topic. 53 comments — Join the discussion

We’re Discontinuing SQL ConstantCare and the Consultant Toolkit. Here’s Why.

About ten years ago, I sketched out an idea for a different kind of SQL Server monitoring tool: one that gathered data just once per day, and gave you a short email with a specific list of actionable tasks to make a difference in health and performance. Richie Rump did an amazing job of building…

Read more about We’re Discontinuing SQL ConstantCare and the Consultant Toolkit. Here’s Why. 45 comments — Join the discussion
Performance Tuning

And Then There Was The Time RCSI Actually Made Query Results More Accurate.

Normally when I tell people about SQL Server's optimistic concurrency isolation levels, Read Committed Snapshot Isolation (RCSI) and Snapshot Isolation (SI), I have to give them a little speech about how they need to test their queries because the results can change. Recently, though, I was working with a client who was getting the wrong query…

Read more about And Then There Was The Time RCSI Actually Made Query Results More Accurate. 11 comments — Join the discussion