ricardo_chicas (8/19/2010)
I forgot to say that the "like" is this way: column like '123456%'so it is using the index and doing a clustered index seek
Are you positive this is what query is doing? did you check execution plan?
_____________________________________
Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.