Question

My assignment requires that I have an ER diagram that shows the dependencies between the objects in my solution. Mine consists of several procedures, tables, a trigger and a sequence. Does anyone know if these objects are permitted in a SQL ER diagram? I ask this because the example shown by my lecturer consisted only of tables. If these objects are allowed in an ER diagram, what is the proper way to represent them?

Was it helpful?

Solution

No, an ER diagram should not contain procedures, triggers nor sequences.

An Entity-Relashioship Diagram is used to represent the relashionships between entities in a database. Procedures, triggers and sequences do not contribute to the relashionship representations.

OTHER TIPS

ER Diagram don't have any particular representation of triggers because ER-Diagram is logical design of Database. BUT we use Strong entity and weak entity symbols to show the dependence of tables
Strong Weak

You should use Entities (the squares), Relationships (the diamonds) and attributes (the ellipsis). All of them are connected by simple lines.

Finally, and most important. Entities and Relationships are not Tables, as you say. Those are part of a physical model.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top