Never, Ever, Ever Start T-SQL Comments with Two Dashes
There are two ways you can write comments in T-SQL:--By starting a line with two dashes, or /* By framing it on both sides like this */ Never, ever use two dashes. Never. The problem is that monitoring...
View ArticlePop Quiz: What Do These Things Cost Today?
Price check on Aisle 2021. My main consulting job is a 2-day SQL Critical Care® where I help turn around slow SQL Servers. Companies come to me because they’re not sure if it’s a hardware problem, a...
View ArticleYour Top 10 Ideas for SQL Server
You’ve submitted thousands of bug reports and feature requests at feedback.azure.com, and here’s what you’ve voted as the top 10 requests right now: #10: MIN/MAX as non-aggregate functions. PostgreSQL...
View ArticleAzure SQL DB Frequently Asked Questions
I’ve seen your search history. Let’s get you some answers. Is Azure SQL DB PaaS, IaaS, or SaaS? Azure SQL DB is platform-as-a-service (PaaS). Microsoft manages most common database tasks for you, and...
View ArticleFree TempDB Training Class Next Monday
You’ve been working with Microsoft SQL Server for a couple of years, and you know a little bit about TempDB. You’ve heard that temp tables and table variables have different performance characteristics...
View ArticleWho’s Hiring in the Database Community? April 2021 Edition
I’ve gotten a lot of emails from friends lately who are looking for work. It seems that as some companies go back to the office, some people are realizing they want to work remotely forever. And on the...
View ArticleUpdated First Responder Kit and Consultant Toolkit for April 2021
This month’s release has two gems for SQL Server 2019 users. First, thanks to Greg Dodd, when you’re dealing with parameter sniffing issues, sp_BlitzWho can now show you the cached and live parameters...
View ArticleAnnouncing Fundamentals Week: May 10-14, $295
You love learning from me. You’ve attended some of my free online streams, read my blog posts, and you use the First Responder Kit. You enjoy my laid-back, humorous approach to sharing what I’ve...
View ArticleExecution Plans Don’t Have the Yellow Bang They Really Need.
When SQL Server is purely making an estimate up out of thin air, with no freakin’ idea what the real answer is, it doesn’t give you any kind of warning. It just produces an estimate that looks...
View ArticleIf You Could Only Say One Thing About Writing Good Queries…
If you could give just one piece of advice about writing good queries, what would it be? I asked Twitter yesterday because I wanted to make sure I didn’t miss anything in a new training course I’m...
View ArticleWhat’s the Buggiest Feature in SQL Server?
Not the one you like the least, or the one that requires the most work. What’s the one that you can’t use because it’s just flat out busted? For me, it’s SSMS’s Live Query Statistics, aka live query...
View ArticleFree Video: Deadlocks: Let’s Do One, Understand It, and Fix It
You keep getting warnings and emails about deadlocks, but let’s be honest: you’re not really sure how they happen or what to do about it. In this one-hour session from the SQLBits conference, I will...
View ArticleI’m on the KasperOnBI Podcast Talking About Careers and the Future of SQL Server
I sat down with Microsoft’s Kasper de Jonge this month for an hour-long conversation about how I got started speaking, careers, and the future of SQL Server: You can also listen on Spotify and Apple...
View ArticleContest: My Favorite Caption Wins a Live Class Season Pass
Let’s have a few laughs this week. In the comments, write a caption for this: Prizes: My favorite caption overall wins a Live Class Season Pass Runners-up get both a Recorded Class Season Pass:...
View Article9 Signs Your T-SQL Might Fail a Code Review
It’s hard to set absolute rules about, “Feature X should absolutely never be used.” However, there are some features that set off alarm bells when I see them. Usually, when I start asking more...
View ArticleYou Captioned This Pic and Won Free Stuff.
Last week, over 600 of y’all captioned this picture, and we had a lot of laughs: My favorite caption overall was from Aart Bluestoke, who won a Live Class Season Pass for this: The funniest part to me...
View ArticleFree Webcast: Architecture Design for SQL Server High Availability & Disaster...
You’re building a new SQL Server, and you need to protect it. You want to learn when it’s right to use clustering, AlwaysOn Availability Groups, virtualization, or storage replication. You don’t have...
View ArticleDo You Have to License Your Standby SQL Server?
Businesses who need high availability and disaster recovery usually want three servers: A primary SQL Server where all the writes & reads take place A high availability SQL Server sitting right...
View ArticleAnnouncing My 2021/2022 Training Class Schedule
If you want to attend my live online classes, it’s really easy: just buy a Live Class Season Pass and you can drop in on any class that works for your schedule. I recommend attending ’em in this order:...
View ArticleUpdated First Responder Kit and Consultant Toolkit for June 2021
If you want to quickly understand the top health and performance issues on your SQL Server, there’s no better, easier, free-er way to do it than the open source First Responder Kit. When you find a bug...
View Article