In SQL Server Object Explorer, I see a list of tables under "Tables" under my database within the "Databases" directory. How do I automatically create a UML diagram of these tables. How do I do this?
Asked
Active
Viewed 5,261 times
3
-
Do you want to automatically generate them or create them by hand? – Gangnus Feb 03 '15 at 16:03
-
Automatically generated – jerryh91 Feb 03 '15 at 16:15
-
Then correct the second sentence of the question, please. – Gangnus Feb 03 '15 at 16:20
-
While this is not a direct answer, you may want to look into this article from Phil Factor about generating PlantUML diagrams using SQL statements: https://www.red-gate.com/simple-talk/sql/sql-tools/automatically-creating-uml-database-diagrams-for-sql-server/ – Marcel Oct 16 '18 at 06:09
1 Answers
-1
UML has no diagram for database content.
Classes from class diagram can be implemented as DB tables. They CAN model simple tables. But if you have a table with inner references, it could be modelled as one or several classes. And nobody except you can say exactly how many classes will be got from a table.
MS Visio has non-UML Database diagram. THEY have Table element and surely, can be generated from most of the DBs. Look here

Gangnus
- 24,044
- 16
- 90
- 149