SQL: Tempdb, Temporary Tables, and Collation: A Design Trap You Can Avoid
One of the more frustrating classes of SQL Server application failures is also one of the most avoidable: collation conflicts involving tempdb.
Background
I see these issues all the time. Developers create applications that require specific collations at the server level, because they don’t handle temporary tables (and by extension) tempdb well.
All this can be avoided, and you can easily build applications that will work with temporary tables, without worrying about the server (and tempdb) collation.
2026-01-26