Having just read the Builder.com SQL Server tips for today, I was just wondering what are the relative benefits of using a table variable vs creating a temporary table. It seems like they would function in much the same way.