Skip to content
Advertisement

Should every SQL Server foreign key have a matching index? [closed]

What are the advantages, if any exist, of having an an index for every foreign key in a SQL Server database?

Advertisement

Answer

Yes it’s a good practice, see here: When did SQL Server stop putting indexes on Foreign Key columns? scroll down to the Are there any benefits to indexing foreign key columns? section

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement