Sql Server : Why is a query with literals performs faster than a query with variables (parameter sniffing)
- Posted by Sqltimes
- On August 29, 2015
- 0 Comments
Quick one today: Let’s look at an Interesting, albeit, seemingly anomalous behavior with in Sql Server. Question When does a query with literals perform faster than query with variables? Even with a simple query. Let’s look at some examples: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 […]
Read More