Keeping referential integrity across multiple databases

后端 未结 5 1705
一整个雨季
一整个雨季 2021-02-13 16:44

What are the best practices for keeping referential integrity across multiple databases? since there\'s no built-in functions

Or is it better to partition a single datab

5条回答
  •  南旧
    南旧 (楼主)
    2021-02-13 17:49

    Definitely better to partitition to a single DB. If you needed to do it triggers would help (yuck). Can't you just partition the DB by using schemas instead (the AdventureWorks sample DB is an example)?

提交回复
热议问题