Disabled index issue
jmeyer
Posts: 70 Bronze 2
It looks like the disabled flag inon indexes is not taken into account when comarign tables in v12.0.39.3632.
CREATE TABLE dbo.RGTest (ID INT IDENTITY(1, 1) NOT NULL , IndexedFiled CHAR(5) NOT NULL , CONSTRAINT PK_RGTest PRIMARY KEY CLUSTERED (ID ASC) ON [PRIMARY]) ON [PRIMARY]; GO CREATE NONCLUSTERED INDEX IX_RGTest_IndexedField ON dbo.RGTest ( IndexedFiled ASC ) ON [PRIMARY]; GO --ALTER INDEX IX_RGTest_IndexedField ON dbo.RGTest DISABLE;If I create the same table on both the source and target database and then run the commented out "disable" line of code on either the source or the target then SQL compare will not flag the index as different.
Comments
Sorry that you're experiencing this problem. This is a known issue, with reference SC-4600. As it's a non-critical issue, it will most likely have a fairly low priority so I can't give you a timescale as to when it might be fixed. I'll try and update you as soon as I hear anything about a possible bugfix.
Apologies.
Redgate Software
As I said, I'll try and keep you updated whenever I hear any new information.
Redgate Software
We've just released a version of SQL Compare to the frequent updates channel that fixes this problem. You can get this version from the Help > Check for updates menu or from this link - SQL Compare 12.1.4.3873.
Redgate Software
I'm running SQL Compare 12.3.3.4490
Riley Waterhouse Limited
Twitter: @kevriley