index varchar ms sql server 2005
i need index varchar domain list ms sql server 2005, nonetheless it's pristine me so. i try supplement non-clustered index field, says "column 'xxxx' list 'mytable' form unfair pivotal buttress an index"
my list an auto-increment int id set primary pivotal table. i set ability index, following supplement varchar buttress an "included column", index goes through. nonetheless i'm certain that's i wish - i wish means hunt list formed varchar domain alone, bargain indexes indexed elements presumption indeed speedup query, nonetheless i don't wish have enclosed int id (because i don't know is, during given query).
am i perplexing incorrectly? id + varchar an enclosed buttress accomplish i am looking for?
Comments
Post a Comment