Index Question
From: Jose Ines Cantu Arrambide (joseine_at_nospam.com)
Date: 04/28/04
- Next message: GregB369: "SQL maint plan not removing .trn files"
- Previous message: $Bill: "Re: SQLEVN70.RLL"
- Next in thread: Don Peterson: "Re: Index Question"
- Reply: Don Peterson: "Re: Index Question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 28 Apr 2004 12:48:02 -0600
Hello,
I have a 500,000 record table with the primary key being a bigint
identity column (clustered). I have another column (smallint) that it is not
unique and only has 20 possible values, this column is indexed in ascending
order.
When I do a select statement in the query analyzer filtering by the
smallint column, I notice that in the execution plan the index of this
column is not being used, it does only a clustered scan. Is it because the
smallint column is not unique? Other reason?
Thanks in advance...
Jose.
- Next message: GregB369: "SQL maint plan not removing .trn files"
- Previous message: $Bill: "Re: SQLEVN70.RLL"
- Next in thread: Don Peterson: "Re: Index Question"
- Reply: Don Peterson: "Re: Index Question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|