Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Connect the Nots

Today I learned that you can’t adjust the font size in SQL Server Management Studio’s Object Explorer pane. Nor registered servers, nor properties. This has been noted, and closed as “Maybe someday we’ll get to it, maybe”. This rather sucks, as the trend seems to be making more and more…

Read more

1 comments, 260 reads

Posted in SQL Awesomesauce on 2 April 2015

“Thing IS NOT NULL” isn’t the same as “Thing != NULL”

I’ve talked about NULLs before. (Ref: Here’s a bit on ISNULL(), and here’s one about understanding NULL at a basic level.)  And yet, it’s worthwhile to bring these things up from time to time. “[Thing] != NULL” is nonsense. It won’t work the way you want it to work, because…

Read more

6 comments, 320 reads

Posted in SQL Awesomesauce on 16 March 2015

Fun-fun-fun in the London sun (and Cardiff, and Exeter!)

We’re in London right now for SQLBits, which has been ABSOLUTELY LOVELY so far. If you happen to’ve seen our precon or one of our sessions, please submit feedback! If you’re anywhere near Cardiff, Wales on Monday 9th, or Exeter, England on Tuesday 10th, then you should hit the user…

Read more

1 comments, 241 reads

Posted in SQL Awesomesauce on 6 March 2015

Powershell to Robocopy files (say, to back up your computer to protect against CryptoWall trojan)

We were having a good time on DBAs@Midnight, when Sean got a weird pop up message that said all his files were encrypted, and he has to pay a laRobocopyToDestrge amount of money via Bitcoin to get the encryption key. The show quickly ground to a halt as he, then…

Read more

3 comments, 577 reads

Posted in SQL Awesomesauce on 7 February 2015

Minion Reindex 1.1 Release (and re-release)

We released Minion Reindex version 1.1 last week. The changes are fairly small: Made sure Minion Reindex handles all nonstandard naming (e.g., object names with spaces or special characters). Added support for Availability Group replicas. (Basic AG support has been added by only permitting Minion Reindex to run on an…

Read more

0 comments, 390 reads

Posted in SQL Awesomesauce on 29 January 2015

Video: A Better Way to Reindex

Sean presented A BETTER WAY TO REINDEX for the Performance Virtual Chapter. Here are links to the video, and to download the free Minion Reindex tool.

Read more

1 comments, 1,660 reads

Posted in SQL Awesomesauce on 23 January 2015

Create a clustered index and a primary key on existing tables

It’s the simple things in life that can trip people up. I find that creating primary keys and clustered indexes on existing tables is one that newish DBAs tend to trip up on, and so (like I do), I shall blog about it so there’s a nice, clear, explicit reference…

Read more

2 comments, 378 reads

Posted in SQL Awesomesauce on 15 December 2014

Just an idea: Bare Bones SQL

I’m reading Andy Warren’s excellent essay “Thoughts on raising funds and spending funds for PASS chapters”, and it’s bringing together a bunch of long-stewed thoughts. Simply: What if there’s room for “Bare Bones” SQL user groups? The bare bones basics of Bare Bones SQL For those who don’t want to…

Read more

6 comments, 464 reads

Posted in SQL Awesomesauce on 13 November 2014

Session: Introduction to Powershell Cmdlets for DBAs

I’ve given my new Powershell Cmdlets for DBAs session a handful of times now, and just realized I haven’t blogged about it! Download the session recording here Download the code file here Abstract: You’ve been hearing about this newfangled craze, and it’s time to learn exactly why it’s called POWERshell.…

Read more

1 comments, 418 reads

Posted in SQL Awesomesauce on 28 October 2014

Minion Reindex is here

We released Minion Reindex by MidnightDBA unto the world, accompanied by a press release on, and people have responded so incredibly positively. We’re quite literally thrilled. Webinar Today! Before I get to anything else: set up an alert for our Minion Reindex Intro Webinar TODAY (Monday, October 27, 2014)…

Read more

0 comments, 453 reads

Posted in SQL Awesomesauce on 27 October 2014

Minion Reindex arrives this Friday!

Edit: Minion Reindex has arrived, and it’s getting fantastic notes! The MidnightDBA team is announcing the release of a new, free index maintenance solution for SQL Server: Minion Reindex by MidnightDBA.  We designed Minion Reindex to solve all of the reindexing headaches we’ve experienced at dozens and dozens of client…

Read more

0 comments, 505 reads

Posted in SQL Awesomesauce on 20 October 2014

PASS Summit 2014: Recommendations and Invitations (#sqlpass #Summit14)

The first week of November, we’ll be at the PASS Summit inSeattle, WA.  This is the highlight of most SQL Server speakers’ years…a sort of educational, Christmassy nerdfest, with a feel of a class reunion mixed in. We have a lot of fun, and so I’d like to draw your…

Read more

1 comments, 322 reads

Posted in SQL Awesomesauce on 10 October 2014

Tip: Concatenate rows with XML, or COALESCE

Edit: I went and changed the first query without paying close enough attention. I’ve fixed the explanation and the query. Concatenate rows with XML I still reference my Forgotten T-SQL Cheat Sheet, especially for the XML trick that turns a set of rows into a list. The T-SQL Cheat Sheet…

Read more

1 comments, 399 reads

Posted in SQL Awesomesauce on 8 October 2014

Wendy Pastrick and Grant Fritchey: Optimists in Action #passvotes

If I had a favorite kind of politician, it would be the kind that, when asked a question, sighs tiredly, and then regains their gleam of manic optimism as they begin to speak about the path ahead. Given that, my two favorite politicians right now are Wendy Pastrick and Grant…

Read more

1 comments, 300 reads

Posted in SQL Awesomesauce on 19 September 2014


I’ve seen this mistake more than once, from DBAs with a middling to fair amount of experience. So it bears repeating. RECOVERY_PENDING is very different from RECOVERING. Definitions RECOVERING means that things are happening, and all may be well. “Database is being recovered. The recovering process is a transient state;…

Read more

3 comments, 482 reads

Posted in SQL Awesomesauce on 8 September 2014

This Week in Awesome – Running at PASS, Cookie Jail, SQL Sats, Breakfast

If you’re in Seattle the week of November 2 – say, for example, you’re attending the PASS Summit that week – consider signing up for the #SQLLongRun:  “We’ll do a minimum of 11 miles. Why? Because we can.” There is now a locking, time-release cookie jar. I should….I should probably…

Read more

0 comments, 363 reads

Posted in SQL Awesomesauce on 30 July 2014

The Week in Awesome – Plugins, Cars, Food, and France

This week in awesome: Denny Cherry – our own @mrdenny – has created a Password Vault WordPress plugin. That looks seriously cool. Google has created a prototype of a totally self-driving car. It looks like a toy, but feels like the future. As long as we’re talking about cars, go…

Read more

0 comments, 390 reads

Posted in SQL Awesomesauce on 30 May 2014

Applied SQL: Orphan a user, fix orphaned users (sp_FixOrphanedUsers)

Ever heard of orphaned users? It’s a database user account, disconnected from its associated login. You typically get this when you take a database backup, and restore it to a different server. Microsoft provides us with the ever helpful sp_change_users_login to find and repair orphaned users, but even so, it’s…

Read more

2 comments, 568 reads

Posted in SQL Awesomesauce on 5 May 2014

Video: Designing Stored Procedure Solutions

My new session for 2014, “Designing Stored Procedure Solutions”, is now up on the Sessions page: abstract, video, and code! This month, I gave this session at the Oklahoma City SQL Server User Group‘s 5 year anniversary, and at the Alaska SQL User Group, to thousands and thousands* of attendees…

Read more

2 comments, 968 reads

Posted in SQL Awesomesauce on 28 April 2014

MidnightDBA at SQL Saturday Houston – May 10

Sean and I will be speaking at SQL Saturday Houston on May 10, at San Jacinto College – South Campus 13735 Beamer Rd. Building 12 Houston, TX 77089 We have three sessions between the two of us: T-SQL Code Sins, Jen DBA Career Roadmap, Sean and Jen DIY Performance Reporting,…

Read more

0 comments, 294 reads

Posted in SQL Awesomesauce on 14 April 2014

Newer posts

Older posts