The last couple of days, I've spent a lot of time talking about testing (and more testing). The reason I spent so much time talking about testing when working with legacy SQL is that you probably don't know exactly what your code base does. Even if you wrote most (or all) of the SQL in your…