SQL Management Studio - 数据库图中的虚线/虚线关系线代表什么

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9347917/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-01 14:28:10  来源:igfitidea点击:

What does a dashed / dotted relationship line represent in SQL Management Studio - Database Diagram

sqldatabasesql-server-2008ssmsdatabase-diagram

提问by MattyG

I'm looking at an existing database in Microsoft SQL Server Management Studio, and in the Database Diagram there is one relatioship that appears with a dashed or dotted line. The other relationships are all solid lines. What does the dashed line mean?

我正在查看 Microsoft SQL Server Management Studio 中的现有数据库,在数据库图中,有一个关系以虚线或虚线显示。其他关系均为实线。虚线是什么意思?

enter image description here

在此处输入图片说明

回答by Mithrandir

The dotted/dashed line means, that SQL Server does not enforce referential integrity for this relationship. Have a look here

点划线表示 SQL Server 不强制此关系的参照完整性。看看这里

回答by Simon Thompson

referential integrity is not enforced

未强制执行参照完整性