Re: How to show foeign key in database diagram

Tech-Archive recommends: Speed Up your PC by fixing your registry



Not sure this is possible with SSMS diagramer tool. Get a real one from a
third party if you want good design app. Visio is on the low end, I use
Embarcadero ERStudio.

--
Kevin G. Boles
Indicium Resources, Inc.
SQL Server MVP
kgboles a earthlink dt net


"Tony Johansson" <johansson.andersson@xxxxxxxxx> wrote in message
news:Q8t2m.9973$U5.136138@xxxxxxxxxxxxxxxxxx
Hello

I use SQL server 2008 but I have found the same problem in SQL server
2005.
I have the Northwind database and if I create a database diagram for this
database
it doesn't show any information about which column is the foreign key in
the diagram.

It does show which column is the primary key.

When I have the diagram I can right klick on a table in the diagram so
table view is displayed.
In this small dialog I can choose between Standard,ColumnNames, Keys,
NameOnly,Custom and
ModifyCustom.

I have tried all of these and neither will mark any sign on the diagram
about which
columns is the foreign keys.

It seems to me that I have to use my pencil on the diagram paper that I
will print.

Can somebody tell me if it's possible to use some setting so the foreign
key is marked on the database diagram

//Tony



.



Relevant Pages

  • Re: SQL Server 6.5
    ... I created a Database project in Visual Studio 2003, connected to my SQL server. ... I can create a database diagram there. ... for database diagram might not be available in all editions of Visual Studio (I have Enterprise ...
    (microsoft.public.sqlserver.server)
  • Re: Need a database diagram
    ... I have been trying to find out if it's possible to create a database ... diagram that include foreign key. ... I have looked at sql server and Database Diagram and I haven't yet ... The Database Diagrams dialog in SQL Server should allow you to access ...
    (microsoft.public.sqlserver.programming)
  • Re: Need a database diagram
    ... diagram that include foreign key. ... I have looked at sql server and Database Diagram and I haven't yet ... The Database Diagrams dialog in SQL Server should allow you to access ...
    (microsoft.public.sqlserver.programming)
  • How to show foeign key in database diagram
    ... I use SQL server 2008 but I have found the same problem in SQL server 2005. ... I have the Northwind database and if I create a database diagram for this ... Can somebody tell me if it's possible to use some setting so the foreign key ...
    (microsoft.public.sqlserver.programming)
  • LINQ SQL DataBase Diagram to DataClasses.dbml sync
    ... My project writes records to a new SQL Server 2005 database with ... When I change the Database Diagram for my ... Diagram and drag a replacement from the Server Explorer Table list. ... developing with an obsolete DBML Diagram. ...
    (microsoft.public.dotnet.languages.csharp)