I have a query that run a lot due to it being in a function that is called for a large row set.
the query is SELECT @sql = NULL WHERE @sql = ''
Even though this shows me 0 physical reads.
It shows me around 17000 Logical Reads.
Any explanations??
Look at the following question & answers:
https://dba.stackexchange.com/questions/9302/why-so-many-logical-reads