Parameter Sniffing

What is “parameter sniffing”? When a stored procedure is first executed SQL Server looks at the input parameters and uses this as guidance to build the query plan. This is known as “parameter sniffing”. This is good as long as the input parameters for the first invocation are typical for future invocations. But if that … Continue reading Parameter Sniffing