SQL Triggers not preventing insert

April 10, 2017 Andy 0

Question I am having trouble getting a trigger to work. What it needs to do is to prevent any customer with last name Glass from being inserted into the database. This is what I have: The issue is when I add customers with last name … [Read More]

Converting date stored as a varchar

April 6, 2017 Andy 0

Question I’m creating a query that has a column of dates stored as a VARCHAR in the format DD-MMM-YYYY. Could you tell me how I can convert this into date format please? I don’t want to alter the original table in any way, as it’s … [Read More]

Transaction log is growing very fast

April 5, 2017 Andy 0

Question One of our SQL Server 2014 database transaction logs is growing very fast and I cannot find the root cause for this. Database in Simple recovery mode. During full backup the log file grows to its limits (800GB) and backup fails. I checked the … [Read More]

What the heck is a DTU?

March 30, 2017 Andy 0

No, seriously. What is a DTU? When you’re deploying any application, one of the first questions that comes up is “What will this cost?” Most of us have gone through this sort of exercise for sizing a SQL Server installation at some point, but what if … [Read More]

Blogging at SQLPerformance.com

March 30, 2017 Andy 0

As part of my role on the SentryOne Product Advisory Council (PAC), I’m going to occasionally be contributing posts over at SQLPerformance.com. Today, my first post was published: What the heck is a DTU? SQLPerformance.com focuses on providing innovative and practical solutions for improving SQL … [Read More]

Congratulations 2017 Microsoft MVP!

March 19, 2017 Andy 1

Earlier this month, I got an email with the subject line “Congratulations 2017 Microsoft MVP!” I immediately commenced doing a Snoopy happy dance (my dog, Callie, picked up on the excitement and joined in). If you aren’t familiar with the MVP Program, you might be … [Read More]

SQLSaturday Boston 2017 Roundup

February 28, 2017 Andy 7

SQLSaturday Boston was February 25. I was invited into the organizing team in 2015, and this was my third time helping to put together the event. But this time was different. This time, I was running the show. I wanted to do a quick round-up of some … [Read More]