Presentation is loading. Please wait.

Presentation is loading. Please wait.

Creating an ERD in SQL Server If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or.

Similar presentations


Presentation on theme: "Creating an ERD in SQL Server If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or."— Presentation transcript:

1 Creating an ERD in SQL Server If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or press space bar to continue. This presentation was prepared by Professor Steve Ross, with the advice of other MIS Faculty, for use in MIS Classes at Western Washington University. Please contact Dr. Ross for permission to use in other settings..Dr. Ross

2 The Challenge Create an Entity-Relationship Diagram in SQL Server

3 Creating an ERD 1.Expand the Database entry 2.Right-click Database Diagrams and choose New Database Diagram –If you see the following message, click “Yes”

4 Creating an ERD (cont’d) 3.Add the tables you wish to include in the diagram. Normally, you will not include “Import” tables. –As you add tables, they will appear on the window. –Click close when all tables you want have been added.

5 Creating an ERD (cont’d) 4.SQL will attempt to arrange the tables and will add all relationship lines. –You may drag things around for a clearer display. 5.Save

6 Establishing Relationships To create a relationship using the ER Diagram… –Arrange the two tables so they are in close proximity. –Left-click on the “foreign key” field in the “many” table. –Drag that field to the “one” table. –Two windows will open. The default entries are often correct.


Download ppt "Creating an ERD in SQL Server If you came to this presentation via a web browser, right-click and choose “Full Screen” before proceeding. Click mouse or."

Similar presentations


Ads by Google