Monthly Archives: December 2013

An Easy Way to Determine the Data Type of an Expression Result

I suspect SQL Server developers and DBAs spend very little time thinking about data types, probably because SQL Server generally is so forgiving about data types. SQL Server will, without complaint, perform implicit conversions whenever it can to match input data types to the defined data types of columns and variables and the specified data types for […]

Things That Make You Go “D’oh” – Part 1: My Arithmetic is Overflowing???

This first post in a series of posts on “Things That Make You Go ‘D’oh’” – those little “gotchas” in SQL Server’s inner workings that lead to epic facepalms when developers and DBAs finally discover the sources of the problems they cause – explains the issue that inspired me to write this series. I had written a […]

Things That Make You Go “D’oh” – Introduction

I recently spent more time than I’d care to admit troubleshooting a T-SQL query that seemed to run fine most of the time but occasionally returned an error that, on the surface, didn’t make any sense. As I ruled out several of the more obvious possible causes, the error became one of those things that […]

Come see me at SQL Saturday #272, Nashville, TN – Jan. 18, 2014

I’m speaking at SQL Saturday #272 in Nashville, TN on January 18, 2014. My session is based on a presentation by Mike Walsh at PASS Summit 2013. Hope to see you there!