Upsert anti-pattern in SQL Server | Hacker News Reader