Home Forums SQL Server 2005 Development Cannot insert duplicate key row in object with unique index on duplicate foreing key RE: Cannot insert duplicate key row in object with unique index on duplicate foreing key

  • Turns out that SQL Server, by default, sets indexed fields to allow only unique values. To check this, open the table in Design and select "Manage Indexes and Keys" option. Select the index/key listed and check the appropriate Yes/No drop down for the "Is Unique" property.