The blog of Andy M. Mallon

Databases, technology & the people behind them.

Notes on data, technology, and the humans behind the work.

Moving SSRS Reports between servers

Today, my friend Derik Hammer (blog|twitter) asked about moving SSRS reports between (versions and) instances of SSRS: Derik Hammer@SQLHammer twitter What is the best way to move 2008 R2 SSRS reports into an existing 2012 SSRS instance? Catalog move is …

Continue reading

Add-Equals operator

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

SSMS Template Replacement

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

My 5th DBAnniversary

Five years ago today, I officially became a DBA: Good afternoon. It is my pleasure to extend to you our offer of employment for the position of Database Administrator How I got there I got my first job at a software company in 2003. I had no degree, I had no …

Continue reading

How to shrink a database in 4 easy steps

I pity the fool who needs to shrink his database! It’s a really common question: “How do I shrink my database?” Luckily, there’s also a really common answer: “Don’t.” …but what if you really have to? Perhaps you just implemented data compression, and have 60% …

Continue reading

CONVERT() to float using scientific notation

Someone posted to #sqlhelp on Twitter, asking the following: “Wondered if anyone could enlighten me as to why ISNUMERIC(‘7d8’) returns 1?” Sure enough, SELECT ISNUMERIC('7d8') returns a 1. WTF? d isn’t numeric! OK, sure, if you say “seven-dee-eight” out loud …

Continue reading

How fast queries hurt performance

This week at work, I noticed CPU on one server seemed pretty high. I wasn’t familiar with this particular server, but based on the applications it supported, I was expecting the server to be under-utilized. I went over to vCenter to look at historical CPU …

Continue reading

Shortcuts Cheat Sheet - SSMS & Windows

Edit: I've published an updated version of my cheat sheet. Find the latest version by in the sidebar --> I've presented my **Shortcuts from an Impatient DBA** talk a few times now, and I really love it. Everyone learns something, whether you're a Junior …

Continue reading

Decoding sql_handle

If you’ve ever looked at sys.sysprocesses or sys.dm_exec_requests (or a number of other DMVs), you’ve noticed there is a column called “sql_handle” that contains some binary gobbledygook. Books Online gives the (un)helpful definition as “Hash map of the SQL …

Continue reading

SSMS Vertical block highlighting & editing

Shortcuts & tips from an Impatient DBA #11 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

#sqlcares, #sqlwish, and #sqlfamily

I’ve been using SQL Server for a dozen years now, but I’ve only been starting to make friendships and build relationships within the SQL Server community in the last couple of years. More importantly, it has only been in the last year that I would say I have …

Continue reading

Speaking at SQL Saturday #470 in DC

On December 5, I’m speaking at SQL Saturday #470 in Washington DC. My session is called “Wheaton’s Law for Technology Pros” and is based on my post “Watch your step! Don’t become a DBA-hole.” I’m really looking forward to it for lots of reasons, but in …

Continue reading