I have a stored procedure I am trying to optimize and it seems like the obvious answer is to add temporary tables. I have used temp tables a little bit, and I know how to us