I am wondering how on Microsoft SQL Server Management Studio 2005 can i create a relationship schema with selected tables i am using on a certain part of a website i have built. I want to see what fields they have and how they are connected.

有帮助吗?

解决方案

As Darren posted you go to your Database (I will post a graphical version here):

enter image description here

Then right click and select New Database Diagram

enter image description here

And then select the tables that you want to Add (I shall add two here):

enter image description here

And if there is no relationship yet you could drag from the Primary Key of another table to the Foreign Key of the related table:

enter image description here

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top