Be able to highlight a chunk of SQL and right click and create a new Stored Procedure or function out of it and then it would replace the highlighted SQL with a exec statement to exec that new sp that was just created.