首页
话题
动态
专家
文章
作者
公告
更多
积分规则
登录 或 注册
首页
话题
动态
专家
文章
作者
公告
积分规则
发表新帖
发表新帖
What are the down sides of using a composite/compound primary key?
后端
未结
关注
8
2264
说谎
2020-12-14 20:30
What are the down sides of using a composite/compound primary key?
8条回答
误落风尘
(楼主)
2020-12-14 21:09
when you se it on a diagram are less readable
when you use it on a query join are less readable
when you use it on a foregein key you have to add a check constraint about all the attribute have to be null or not null (if only one is null the key is not checked)
usualy need more storage when use it as foreign key
some tool doesn't manage composite key
0
讨论(0)
查看其它8个回答
发布评论:
提交评论
加载中...
验证码
看不清?
提交回复
热议问题