Is there a way to view the schema or relationship of several tables in a SQL Server 2005 database? I'm working with a Microsoft Great Plains database and cannot figure out how to find the relationship of 2 tables for an application I am building.
If you create a digram and add tow releated tables any foreign key relationships will be automatically drawn. Otherwise you can see the foreign key relationships by loading a table in design view and clicking on the indexes icon.