How many times did we have to spend countless hours looking for a T-SQL solution for the fancy requests of our users, to later discover our code doesn’t perform acceptably? What can we do to improve the performance of our code? Is there a methodology to follow in order to deliver better performance? What are the mistakes to avoid?