Are circular references acceptable in database?

前端 未结 8 1956
梦毁少年i
梦毁少年i 2020-12-08 09:50

When are circular references acceptable in database?

Theoretical and practical, any help is appreciated.

8条回答
  •  生来不讨喜
    2020-12-08 10:36

    Circular references should be avoided like the plague. It is possible to set up two way relationships, or even relationships to yourself (if you were a table that is), but a circular dependency is just asking for trouble.

提交回复
热议问题