Many to Many Relation Design - Intersection Table Design

后端 未结 11 1427
野的像风
野的像风 2020-12-07 19:20

I\'m wondering what a better design is for the intersection table for a many-to-many relationship.

The two approaches I am considering are:

CREATE TA         


        
11条回答
  •  有刺的猬
    2020-12-07 19:48

    if you go with the first, just use an IDENTITY on the PK, you don't need to waste the space (disk and memory cache) with a UNIQUEIDENTIFIER .

提交回复
热议问题