Performance Tuning6 min read
Table Variable vs Temp Table in SQL Server 2025: Measured, Not Assumed
Measured on SQL Server 2025: a table variable read thirty times the pages at one compatibility level, and six extra indexes made an insert eight times slower.
