title: When to use temporary table in SQL Server 2005
body: <p>I read about temporary tables, global temporary tables and table variables. I understood it but could not imagine a condition when I have to use this. Please elaborate on when I should use the temporary table.</p>