Kevin Griffin personal blog

C# strings silently kill your SQL Server indexes in Dapper

If you're using Dapper with anonymous objects to query varchar columns, you're probably sending nvarchar(4000) parameters — causing CONVERT_IMPLICIT on every row and defeating your indexes. Here's the fix.
Points
126
HN comments
126
Submissions
1
Cited by
0 commenters

Databases & DataSoftware Engineering2026

On Hacker News

SubmittedTitle on HNPointsComments
Mar 6, 2026C# strings silently kill your SQL Server indexes in Dapper by PretzelFisch126126

Related posts from the same era