Viewing post 1 (of 1 total)
Using "where 1 = 1" can also change the execution plan of a query. Take a look at this great article from Brent Ozar Unlimited site: https://www.brentozar.com/archive/2017/06/query-plans-trivial-optimization-vs-simple-parameterization/It shows...
December 19, 2018 at 3:00 am
#2016800