Use (n)varchar(max) parameters only when you really need to.
The problem: I was checking the query store of a database where performance testing was done.The top CPU resource consumer was a simple query on 1 table with a perfect covering index, but the query plan looked more complicated than expected. The problem? The varchar(max) datatype of parameters in the query didn’t match the data […]
Use (n)varchar(max) parameters only when you really need to. Read More »
