Index with Included Column
tharman
Posts: 4
When I generate a .chm file for our database, I've noticed that one of the indexes which has an included column, the included column is being shown as the 1st element of the key.
Is there a configuration option I've missed?
Is there a configuration option I've missed?
Comments
Redgate Software
Here's a table definition that produces the strange results when you generate the .chm, and below is the Indexes section in the chm.
SERVERPROPERTY('productversion')
9.00.4053.00 SP3
Name Columns
PK_RepAccount ID
IX_RepAccount_AccountID Account_ID, Rep_Id
IX_RepAccount_RepID Account_ID, Rep_Id, DateModified
On checking here, I can see we have a change-request logged that raises a similar point, so I will add the details of this post to that.
I'm not sure when that's likely to be implemented unfortunately but for now it looks like there isn't a way around the problem.
Redgate Software
I look forward to the next releases which will address this annoyance!
Mostly it annoys me because in that example it looks like I have 2 indexes covering the same columns, one is unique and one non-unique! :shock: