title: Why are temporary tables faster than table variables for joins?
body: <p>Why are temporary tables faster than table variables for joins in SQL Server?</p>
  
  <p>NOTE: In both scenarios the tables have PK, and the tables are joined with other "physical" tables through the PK.</p>