Simple Parameterization and Trivial Plans — Part 2
SQL Performance
MARCH 29, 2022
When SQL Server applies simple parameterization to an ad-hoc statement, it makes a guess about the data type of the replacement parameter. For the time being, let’s look at some examples using the Stack Overflow 2010 database on SQL Server 2019 CU 14. The bigint type isn’t used for server-side parameterization.
Let's personalize your content