Simple Parameterization and Trivial Plans — Part 2
SQL Performance
MARCH 29, 2022
Simple parameterization has a number of quirks in this area, which can result in more parameterized plans being cached than expected, or finding different results compared with the unparameterized version. When SQL Server applies simple parameterization to an ad-hoc statement, it makes a guess about the data type of the replacement parameter.
Let's personalize your content