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

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

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -