Remove sys.dm_exec_query_optimizer_info
article thumbnail

Simple Parameterization and Trivial Plans — Part 3

SQL Performance

It’s no surprise even highly experienced SQL Server users tend to get this wrong, given the contradictory information often supplied to us. Let’s look at some examples using the Stack Overflow 2010 database on SQL Server 2019 CU 14, with database compatibility set to 150. Parameterization Not Attempted. DisplayName , LOWER ( U.

Cache 58