复合主键其中之一不能作外键

如A表的 PA, PB, PC是复合主键, 则PA不能作为B表的外键
只能PA,PB,PC组成B表的复合外键

猜你喜欢

转载自chinagdvea.iteye.com/blog/1088437