The blog of Andy M. Mallon

Databases, technology & the people behind them.

Notes from the work, the community, and everything in between.

Thank you #sqlsatbostonbi 2015

Yesterday was SQL Saturday #437 or as we call it, SQL Saturday Boston BI Edition. It was my first time helping to organize a SQL Saturday (or any event like this). It was an honor to be asked to join the organizing team, knowing that they already put on some …

Continue reading

Planning for an outage: Phone numbers

Who ya gonna call? If there's somethin' strange in your neighborhood Who ya gonna call? If it's something weird and it won't look good Who ya gonna call?   This summer, they've been taping the new Ghostbusters movie in Boston. It's pretty cool to see the …

Continue reading

Embedded video demos in PowerPoint

This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features--they are the little things that I do as part of my …

Continue reading

Thanks for being awesome NE SQL!

This evening, I did my first presentation at a user group at my local user group. Sure, it was just a lightning talk, but the New England SQL Server user group is a tough crowd. People ask tough questions. Nobody is timid about interrupting you to ask their …

Continue reading

Tip: Master Control Panel

Shortcuts & tips from an Impatient DBA #9 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

How to find the SQL Server Service Account

What is the service account running your instance of SQL Server? A lot of DBAs probably know right off the top of their head–maybe because they’re using the same account for every instance. Have you ever had to audit every service account on every instance? If …

Continue reading

Tip: Go [count]

Shortcuts & tips from an Impatient DBA #8 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

Common SSMS keyboard shortcuts

Shortcuts & tips from an Impatient DBA #7 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

Tip: Never disable a job temporarily

Shortcuts & tips from an Impatient DBA #6 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

Tip: Windows Explorer address bar hack

Shortcuts & tips from an Impatient DBA #5 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

SSMS Query Shortcuts

Shortcuts & tips from an Impatient DBA #4 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

Shortcut: SQL Template Parameters

Shortcuts & tips from an Impatient DBA #3 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

Shortcut: CTRL + ]

Shortcuts & tips from an Impatient DBA #2 This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

Shortcut: CTRL + SHIFT + V

Shortcuts & tips from an Impatient DBA This series of short posts will demonstrate some lesser-known features, keyboard shortcuts, and other tips that make my day as a DBA more productive. None of these are groundbreaking super-secret features–they are the …

Continue reading

Big security loophole with SQL Logins

Aaron Bertrand (twitter|blog) recently blogged asking for help to fix a big security loophole. I read the post then, but it was only this morning that I finally got around to REALLY looking at it, thinking about it, and testing it out for myself. Aaron can do …

Continue reading

sp_executesql with output parameters

One of my coworkers asked me about output parameters from dynamic SQL today. I pointed him at sp_executesql, which allows for passing parameters into or out of dynamic SQL. The syntax can be confusing at first blush (especially for a new DBA or developer), but …

Continue reading

Formatting HTML emails in SQL

When I am writing monitoring/alerting stored procedures for my SQL Servers, its important to have those alerts be well-formatted. I like to minimize the amount of time I spend sorting through emails & alerts, and part of that is making sure that I can …

Continue reading

sp_get_basetable_list

At work, we make extensive use of views & synonyms. The reasons are complex (and fodder for another post), but here’s a simplified example: Pricing data is updated multiple times per day, and we want to keep multiple generations of the pricing table online. By …

Continue reading