database-diagram

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

醉酒当歌 提交于 2019-12-12 08:15:00
问题 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? 回答1: The dotted/dashed line means, that SQL Server does not enforce referential integrity for this relationship. Have a look here 回答2: referential integrity is not enforced 来源: https://stackoverflow.com/questions/9347917/what-does-a-dashed

Microsoft SQL Server vs. SQL Server Management Studio

守給你的承諾、 提交于 2019-12-10 00:56:22
问题 What is the difference between Microsoft SQL Server and SQL Server Management Studio (SSMS) and how can I integrate SSMS in Visual Studio 2012 so I can use database diagrams? 回答1: Credit to marc_s: SQL Server = database engine; SQL Server Management Studio = GUI Administration Tool for working against the SQL Server engine 回答2: It seems like Microsoft is trying to make SSMS look like Visual Studio, but there is still no integration. Use the Entity Framework 6.0 within Visual Studio 2012 to

Tools for discovering de facto foreign keys in databases? [closed]

强颜欢笑 提交于 2019-11-29 09:26:57
问题 A good way to quickly survey the information in a database is to apply a tool that automatically creates a database diagram of all tables and all relationships between them. In my experience, such tools use foreign keys as the relationships, which most of the databases I try them do not contain. Sure, they satisfy constraints corresponding to foreign keys, but do not enforce them. And I'll end up with a 'diagram' consisting of a bunch of unrelated tables. So what I'm looking for is software