Sql-server – Automatic create SQL database and table relationship

sql serversql-server-2008

For SQL Server 2008, what is the best way to automatically "draw up" the Database relation ship and table relationship too?

Is there any way to visualize database with this.

Best Answer

You could use database diagrams, drag and drop your tables and use the designer to create the relationships for you. Open SSMS, expand the server, expand Databases, expand the database you want and it should be the first folder. If it asks to install things, say yes and away you go.