Integrating the changes, and other improvements to the procedure (13 minutes) Part of "Tuning a Stored Procedure - SQLChallenge (1 hour 10 minutes)"