A quick tip for working with large scripts in SSMS
Sometimes great things stare you in the face for years Sometimes they stare at you for so long that you stop noticing them. This isn’t a romdramadey tag line. There are just so many buttons to push....
View ArticleWhen Should You Hire a Consultant for Amazon RDS?
Powered By Somebody Else’s Database on Somebody Else’s Computer You’re hosting your SQL Server databases in Amazon RDS, and performance has been getting slower over time. You’re not sure if it’s...
View ArticleOne weird trick for managing a bunch of servers
Let’s face it, most people don’t have just one SQL Server How many they tell Microsoft they have is another matter, but let the record show that I don’t condone licensing dishonesty. But going one step...
View ArticleMy Favorite Database Disaster Stories
The statute of limitations has passed, so this week on SQL Server Radio, I get together with Guy Glantser and Matan Yungman to talk about our favorite oops moments. I talked about my very first...
View ArticleUpdated the StackOverflow SQL Server Database Torrent to 2016-03
The StackOverflow XML Data Dump was recently updated with 2016-03 data, so I’ve updated our torrent of the SQL Server database version of the Stack Overflow data dump. Fun facts about the database and...
View Article[Video] Office Hours 2016 2016/04/27
This week, Brent, Erik, Jessica, Angie, and Tara discuss SQL service packs, partial restores, breaking replication, backups, as well as their favorite TV shows. Here’s the video on YouTube: You can...
View ArticleSQL Server 2016 Release Date: June 1, 2016
It’s the news we’ve all been waiting for! Microsoft just announced the SQL Server 2016 Release Date: June 1, 2016. This PDF lays out the differences between editions, and here’s a few points that stand...
View ArticleSQL Interview Question: “Talk me through this query.”
Last month’s post “For Technical Interviews, Don’t Ask Questions, Show Screenshots” was a surprise hit, and lots of folks asked for more details about the types of screenshots I’d show. Over the next...
View ArticleWhere Clauses and Empty Tables
Sometimes SQL is the presentation layer And when it is, you end up doing a lot of concatenating. This isn’t about performance, or trying to talk you out of SQL as the presentation layer, this is just...
View ArticleCreating Tables and Stored Procedures in TempDB – Permanently
No, not #tables – actual tables. Here’s how: USE tempdb; GO /* This one is only available during my session: */ CREATE TABLE #myTempTable (ID INT IDENTITY(1,1), Stuffing VARCHAR(100)); GO /* This one...
View ArticleRAM and Sympathy
With the release date for 2016 finally announced Everyone can start gearing up to gaze upon its far shores from the 2008R2 instance they can’t or won’t upgrade for various reasons. I’m excited for a...
View Article[Video] Office Hours 2016 2016/05/04
This week, Richie, Erik, Angie, and Tara discuss deadlocks, replication, SQL Server 2016 features, and more. Here’s the video on YouTube: You can register to attend next week’s Office Hours, or...
View ArticleWhy monitoring SQL Server is more important than ever
Moving parts SQL Server keeps on growing. With every new edition, you get more features, feature enhancements, and uh, “feature enhancements”. As I’m writing this, SQL Server 2005 is less than a week...
View ArticleNew Online Classes, Including Performance Tuning When You Can’t Fix the Queries
Every time we announce a new SQLSaturday Pre-Con, the number one question I get is, “When are you going to teach Performance Tuning When You Can’t Fix the Queries in my city?” Since I can’t get to all...
View ArticleImplicit vs. Explicit Conversion
Everyone knows Implicit Conversion is bad It can ruin SARGability, defeat index usage, and burn up your CPU like it needs some Valtrex. But what about explicit conversion? Is there any overhead? Turns...
View ArticleWhat I Look For When I’m Hiring Database Professionals
Matan, Guy, and I recording the podcast On today’s episode of the SQL Server Radio podcast, I talk with Guy Glantser and Matan Yungman about what we look for when we’re hiring. In the broadest sense,...
View Article[Video] Office Hours 2016 2016/05/11
This week, Brent, Angie, Erik, Jessica, Richie, and Tara discuss backups, failover events, tempdb errors, errors, other errors… oh, did we mention errors? Here’s the video on YouTube: You can register...
View ArticleSQL Interview Question: “Talk me through this screenshot.”
After writing about “For Technical Interviews, Don’t Ask Questions, Show Screenshots”, lots of folks asked what kinds of screenshots I’d show. Here’s this week’s example. I show each screenshot on a...
View ArticleWhat TRY/CATCH Doesn’t Handle
We were once asked in class what TRY/CATCH doesn’t handle besides object existence errors. It’s well documented in Books Online (BOL). If you’re like me, then tl;dr. Are we even calling it Books Online...
View ArticleExtended Events: Where They Hide The Good Stuff
You can do a lot with Extended Events I’m really looking forward to the stuff in 2016 becoming mainstream in 2020 or so. Raise your hand if you’re using SQL Server 2014 in production. Raise your hand...
View Article