Describir: Refactoring legacy T-SQL for improved performance :