SQL Server created the database graph with an index that exceeded the bounds of the array. (solved)

Reprinted: https://blog.csdn.net/qq_41251196/article/details/117766366

1 Problem description

First, in the work table, foreign keys are established for the two fields, employee and department, and then I want to look at the database relationship diagram, and an error is reported: the index exceeds the limit of the array. After testing other databases, the database relationship diagram can be created normally.

 

2 problem solved

Many solutions on the Internet say that the version is not OK. In view of the fact that other databases are OK, I think this method should not be OK, so I deleted the foreign key relationship, but it was still not OK, and then restarted SSMS, it was OK ! The database relationship diagram can be created normally!

 

Guess you like

Origin blog.csdn.net/chentiebo/article/details/131087804