The blog of Andy M. Mallon

Consuming SQL Agent dates & durations

SQL Agent’s schema is older than me. It handles dates, times, and durations like it’s 1980 by using integers instead of date/time data types. My buddy Aaron Bertrand talks more about Dating Responsibly so that you can have a good datetime with your own …

Continue reading

Not all stats should be auto-updated

Statistics auto-updates are generally a good thing–auto-update of statistics is the default behavior in SQL Server. Having the freshest information about the data “shape” helps to inform the best selection of an execution plan for queries. Except for when it …

Continue reading

T-SQL Tuesday: The last ticket I closed

For this month's T-SQL Tuesday, Brent Ozar (blog|Instagram) asks us to describe the most recent ticket we closed. “We had a pretty significant wait spike…” The literal last ticket I closed was “please run this script in production…”, and I don’t think it …

Continue reading

What time is it in Oz?

This is our puppy Elphaba. She's from Oz...No, the other Oz. She's popular. There was a recent post on Database Administrators, where there was some confusion over Daylight Saving Time(DST) in Australian timezones. Let’s be honest though–timezones are …

Continue reading

FAQs about the dissolution of PASS

In my prior post, I talked about how all signs pointed to it being Closing Time for PASS. Since then, PASS has announced the organization will “cease its operations and pursue dissolution.” TL;DR; The short version is that on 15 January, 2021, PASS will shut …

Continue reading

Closing Time

Open letter from Mindy Curnutt to the PASS Membership. (zoom) This year, I’ve written a couple of critical posts targeted at PASS. If you follow me on Twitter, you know I’ve been critical there, too. Last week, the PASS Board of Directors had their December …

Continue reading

Microsoft Azure hack for social justice

Photo via unsplash Microsoft is going to be running a virtual hackathon, running from October 12 through November 20. The theme of the hack will be to use Microsoft Azure to address some social justice issue. I’m thrilled to be joining the judging panel for …

Continue reading

What's important in a code of conduct?

Earlier this week, I published a post about a proposed Tech Community Equality Index, and used it to grade the largest organization in the data community, PASS. One of the areas where I was critical of PASS is that their Anti-Harassment Policy (AHP) is not …

Continue reading

Tech Community Equality Index

Over the last weeks & months, I’ve had an increasing number of conversations with folks on the topics of diversity, inclusion, equality, and justice. These discussions we have with coworkers, members of the data community, family and friends are all valuable, …

Continue reading

Hi, I'm Andy. My pronouns are he/him.

Forget what you learned in school-- "they" is singular Lots of folks want to be an ally to the LGBTQ community, but don’t know where to start. One great way to be an ally is relatively low-friction. List your pronouns. Everywhere. Put your pronouns in your …

Continue reading

Racism is our problem to solve

This month’s T-SQL Tuesday is hosted by Kenneth Fisher (blog|twitter). Kenneth asked us to talk about any non-SQL tips and tricks we have. I’m going to take the moment to give some tips on how (and why) you can help fight bigotry, racism, and racial injustice.

Continue reading

Pride is a riot

Marsha P Johnson, LGBTQ rights activist & Stonewall instigator. Last year was the 50th anniversary of the Stonewall riots, which mark the start of the modern LGBTQ rights movement in the US. In the subsequent half century, the queer community has made …

Continue reading