The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
48 views

Modeling a db that has products: What are the good practices/solutions? How to treat grammar variations in the words?

The problem is: A Company belongs to a sector. A Company produces products. A Sector contains products. A Product belongs to sectors. Three entities: Company, Sector and Product. And it's a ...
0
votes
1answer
49 views

What are the bad design points in the following (simple) Entity-Relationship Diagram?

The objective is to design a Entity-Relationship Model for a company that has addresses, telephones, e-mails and representants. Here's the list of the constraints: a company has one or more ...
1
vote
1answer
56 views

Database Normalization: A Case Of The NULLs [duplicate]

I'm trying to learn about proper database management and am having a hard time with designing a database that doesn't rely on NULLs. If you think I'm crazy for embarking on this, it is because of SQL ...
0
votes
0answers
20 views

Which tool to use to generate an ER Diagram that will allow navigation between tables

DB= Mysql 5.X , OSX/Windows I have a DB with over 400 tables. I want to use a tool to reverse engineer the db to an ER diagram that will allow me to navigate between tables. So for example, when I'm ...
1
vote
0answers
18 views

MySQL Workbench Forward Engineer from only the current diagram

I want to create a test database from a huge schema in MySQL, but when I try to do Forward Engineer from a Diagram with about 6 tables, it try to create all the tables, views and routines groups that ...
0
votes
0answers
18 views

how to assign multiple/single role between two entities

I have user and school table with roles as student,teacher,schooladmin and schoolheadadmin. If user is student then he/she can not have any other role in same school but if user is teacher then s/he ...
0
votes
1answer
60 views

SQL Server 2008 Script Changes from Database Diagram

I have a database diagram which I have made several changes to using SSMS, however instead of committing the changes I want to generate a SQL script to apply them instead. Is there a simple way to do ...
1
vote
1answer
104 views

Automatically create ER diagram from database schema

I have a database with 193 tables and I need to create an ER diagram from them. There are no formal relationships between the tables with respect to FKs. The relationships are mapped with 1-* tables. ...
3
votes
2answers
111 views

Can relationships have relationships?

I have the following requirements (as part of a larger system). In the database, I need to maintain a list of parts, suppliers who sell those parts. Many suppliers can sell the same part and each ...
2
votes
0answers
124 views

Number of ISA relationship triangles in an Entity Relationship Diagram

The following two diagrams are nearly identical. However, in one, there are two ISA triangles from the Entity "Movie" and in the other there is just one. What is the difference in meaning?
2
votes
1answer
101 views

ER relation with unique key

I've a problem about my ER diagram. Assume that I want to draw a diagram with student, member and team. Here is my specs: A student does not have to be a member of any team. A student could be a ...
0
votes
0answers
66 views

Need advice on this EER Diagram

This db will work with a CakePhp app and need advice about design. Is it good idea to put orders on center or should I put clients on center? Clients has orders and an order record can only have one ...
1
vote
2answers
273 views

How can I get a list of tables contained in a database diagram?

I need to get a list of the tables contained in a diagram in SQL Server. How can I do it using an SQL script? I don't need a list of tables in the database, but the list of tables contained in a ...