erd

Database design - Similar Contact Information for multiple entities

戏子无情 提交于 2019-12-04 14:39:33
I realise that the answer to these types of questions are often "it depends" but still I wondering what the general consensus might be. I am dealing with multiple entities such as Company Charity Auditor Stocktaker etc etc... Which all have contact information such as e-mail, telephone and address. The two design methods I was thinking to store the contact info were Method 1) create role tables between the contact tables and company, charity, auditor and stocktaker. dbo.Company -> dbo.CompanyAddress <- dbo.Address dbo.Company -> dbo.Companytelephone <- dbo.telephone dbo.Company -> dbo

Data Model tools for DB2

大城市里の小女人 提交于 2019-12-04 12:59:32
问题 I have created a Database in DB2 and tables with relationships. I would like to create a ER diagram based on my database design in DB2. MS SQL has a facility to create ER diagrams from DB schema, but DB2 doesn't seem to have one, at least to my knowledge. Any one know of any open source tools/facility within DB2 itself for this? 回答1: You could try TOAD for DB2 (freeware and commercial versions). Download here Also IBM Data Studio looks promising. 回答2: DbVisualizer can visualize (and much more

ERD - How to model a relation between two entites with a third entity as “attribute”

萝らか妹 提交于 2019-12-04 12:47:24
I'm modeling an entity relationship diagram and got stuck. I'm not sure if my considerations are wrong or an ERD can't modell what I want: I have three entities: Employee, Project and Role. There is a relation between Employee and Project: an employee is working on a project. But this employee isn't just working on this project, he/she has a field of operation that is given as a role. But isn't a relation just described by attributes? How can I make something like "An employee works on this project as ..."? Of course I got use a roleId as an attribute as I would design it as a database, but

what is the best software to draw ERD for a mysql database for windows [closed]

北城余情 提交于 2019-12-04 10:03:35
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . What is the best software to draw ERD in Windows for a MySQL database. You can also use staruml http://staruml.sourceforge.net/en/modules.php http://staruml.sourceforge.net/docs/StarUML_5.0_Developer_Guide.pdf (see chapter 10 for

Saving diagram failed! Verify that Graphviz is installed and in your path, or use filetype=dot

巧了我就是萌 提交于 2019-12-04 05:26:41
When I run rake db:migrate I get this error rake aborted! Saving diagram failed! Verify that Graphviz is installed and in your path, or use filetype=dot. Full log: rake db:migrate Loading application environment... Loading code in search of Active Record models... Generating Entity-Relationship Diagram for 20 models... rake aborted! Saving diagram failed! Verify that Graphviz is installed and in your path, or use filetype=dot. /home/bcc/.rvm/gems/ruby-2.2.3/gems/rails-erd-1.4.5/lib/rails_erd/diagram/graphviz.rb:207:in `rescue in block in <class:Graphviz>' /home/bcc/.rvm/gems/ruby-2.2.3/gems

Tools to visualize a database and understand the datamodel quickly [closed]

纵然是瞬间 提交于 2019-12-03 20:33:12
I have several SQL Server 2005 databases ranging from 20 – 600 tables in an application and no documentation. I am looking for a database diagramming tool that is smart enough to pick tables that seem to be related to one entity (e.g., tables related to Patient, tables related to Orders) or one functionality (e.g., Patient Management, Order Management) and show them separately instead of drawing the entire database. In the past, I have seen tables related to one piece of functionality represented in one color in the ER diagrams. In a well designed database, perhaps there will be multiple

Modeling 3 entities with relationships

老子叫甜甜 提交于 2019-12-03 12:38:29
Say we have three entities in our environment, Teacher , Student and Course . Every teacher has (teaches) 1 or more Courses and each Course is offered by 0 or more teachers Every Student has taken 1 or more Courses and each Course is taken by 0 or more Students Every Teacher has 0 or more Students and each Student has 1 or more Teachers In this relationships, each relationship could be inferred from the two others, for example to know which Students are being taught by Teacher T1, go through the relationship between Teacher and Course to see what Courses are being taught by the teacher T1, and

Data Model tools for DB2

六月ゝ 毕业季﹏ 提交于 2019-12-03 08:22:32
I have created a Database in DB2 and tables with relationships. I would like to create a ER diagram based on my database design in DB2. MS SQL has a facility to create ER diagrams from DB schema, but DB2 doesn't seem to have one, at least to my knowledge. Any one know of any open source tools/facility within DB2 itself for this? You could try TOAD for DB2 (freeware and commercial versions). Download here Also IBM Data Studio looks promising. DbVisualizer can visualize (and much more) just about any database, provided that the relevant foreign keys have been defined. DbVisualizer isn't open

Avoid Circular Dependency

你离开我真会死。 提交于 2019-12-03 07:42:34
I am developing a travel management application. The design in question is something like following : Each person in a tour is designated as a Traveler. Each Traveler has a Passport. Now, a Traveler can be a MainMember or a SubMember, depending on whether or not he is the head of the family. A MainMember decides stuff like TourPackage, total amount for his travelling family, etc. A SubMember is dependent on the MainMember while travelling. So, if a MainMember is deleted, all its SubMembers have to be deleted as well. So, A Traveler has a Passport. (One to One relationship) A Traveler is either

Is ERD considered a kind of UML diagram?

我与影子孤独终老i 提交于 2019-12-03 05:08:54
问题 Are Entity Relationship Diagrams(ERD's) considered a type of UML diagram or are they a separate thing? 回答1: I have an other idea. I think we should look in-depth. When we are talking about ERD (Entity Relationship Diagram), we are talking about Entity Relationship Modeling. It is firstly introduced by Peter Chen (1976). He has two famous articles on Entity Relationship Modeling (see first and second articles) He talked about Entity-Relationship Modeling ( not Entity-Relationship Diagram ). It