4

I have Int type Sort column where I enter numbers to set records sort order. Do I need to index such columns for better performance?

1

1 Answer 1

8

If you want to use this column in your SELECT statement, especially in WHERE, ORDER BY, GROUP BY, TOP and DISTINCT clause - you need to index this field. Please read this article http://www.sql-server-performance.com/2007/optimizing-indexes-general/ to read more about indexes and perfromance.

Sign up to request clarification or add additional context in comments.

1 Comment

Link out of date

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.