I need to add proper index
to my tables and need some help.
I'm confused and need to clarify a few points:
Should I use index for
non-int
columns? Why/why notI've read a lot about
clustered
andnon-clustered
index yet I still can't decide when to use one over the other. A good example would help me and a lot of other developers.
I know that I shouldn't use indexes for columns or tables that are often updated. What else should I be careful about and how can I know that it is all good before going to test phase?