简体   繁体   中英

Get rid of multiple one-to-one relationships

I have multiple one-to-one relationships in the following data model between:

  • logins & accounts
  • donors & accounts
  • patients & accounts

SQL Server Blood Bank data model

I am facing troubles in altering the database, mainly caused by FK's related to one-to-one relationships , made only between PK'S .

My best guess is that all my troubles are caused by a bad design . How can I get rid of the one-to-one dependencies?

Any changes could be made..

在此处输入图片说明

I think its so better than your database design. Do you have any question?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM