Which runs faster ... MIN or MAX in SQL Server? -


which runs faster ... min or max in sql server?

this me optimize query.

thanks!

please vote close question.

i sure neither faster. measure on data.

besides:

  • they give different results. can't exchange 1 other.
  • even if 1 turns out faster, micro-optimization.

if want optimize query add appropriate indexes, , make sure query able use indexes efficiently. check execution plan.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -