Let's hit the final topic of my Working Effectively with Legacy SQL series. Today, we discuss the topic of modularization. In object-oriented programming, modularization is a great idea. One of the "clean code" tenets is Don't Repeat Yourself: if you have two pieces of code doing the same work, try to unify that code, isolating that particular…