Associative Entities

Associative Entities

An associative entity is an element of the Entity-relationship model. The database relational model doesn't offer direct support to many-to-many relationships, even though such relationships happen frequently in normal usage. The solution to this problem is the creation of another table to hold the necessary information for this relationship. This new table is called an associative entity.

An associative entity can be thought of as both an entity and a relationship since it encapsulates properties from both. It is a relationship since it is serving to join two or more entities together, but it is also an entity since it may have its own properties. The associative entity must have identifiers, Primary Keys, for both adjoining tables, but may also contain its own unique identifier and other information about the relationship.

The following guidelines may be used when considering the use of an associative entity:

* All relationships for the associative entity should be many.
* The associative entity could have meaning independent of the other entities.
* The associative entity preferably has a unique identifier, and should also have other attributes.
* The associative entity may participate in relationships other than the entities of the associated relationship.

ee also

* Many-to-many (data model)
* Junction table

References

* Modern Database Management - 7th Edition - Jeffrey A. Hoffer, Mary B. Prescott, Fred R. McFadden


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Associative engine — An associative engine (AE) in CAD/solid modelling software is the component which maintains the associative relationships between the collection of geometric entities. The associative relationships are basically LISP expressions which describe… …   Wikipedia

  • Associative meaning — According to the semantic analysis of Geoffrey Leech, the associative meaning of an expression has to do with individual mental understandings of the speaker. They, in turn, can be broken up into six sub types: connotative, collocative, social,… …   Wikipedia

  • Relational Model/Tasmania — (RM/T) was published by E.F. Codd in 1979 and is the name given to a number of extensions to his original relational model (RM) published in 1970. The overall goal of the RM/T was to define some fundamental semantic units, at atomic and molecular …   Wikipedia

  • Weak entity — In a relational database, a Weak Entity is an entity that cannot be uniquely identified by its attributes alone; therefore, it must use a foreign key in conjunction with its attributes to create a primary key. The foreign key is typically a… …   Wikipedia

  • Many-to-many (data model) — An Author can write several Books, and a Book can be written by several Authors In systems analysis, a many to many relationship is a type of cardinality that refers to the relationship between two entities (see also Entity Relationship Model) A… …   Wikipedia

  • Compound key — In database design, a compound key is a key that consists of 2 or more attributes that uniquely identify an entity occurrence. Each attribute that makes up the compound key is a simple key in its own right. This is often confused with a composite …   Wikipedia

  • Junction table — In database management systems following the relational model, a junction table is a table that contains common fields from two or more tables. It is on the many side of a one to many relationship with each of the other tables. Junction tables… …   Wikipedia

  • Meta-information in linguistics — Associative Semantics Meta Informative Centering Theory (ASMIC)= The Associative Semantics (AS) theory together with the Meta Informative Centering (MIC) theorymodify and in a consistent way unify two sorts of theories currently admitted in… …   Wikipedia

  • Phenomenology (The beginnings of) — The beginnings of phenomenology Husserl and his predecessors Richard Cobb Stevens Edmund Husserl was the founder of phenomenology, one of the principal movements of twentieth century philosophy. His principal contribution to philosophy was his… …   History of philosophy

  • CPU cache — Cache memory redirects here. For the general use, see cache. A CPU cache is a cache used by the central processing unit of a computer to reduce the average time to access memory. The cache is a smaller, faster memory which stores copies of the… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”