Global Information Lookup Global Information

Weak entity information


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 primary key of an entity it is related to.

The foreign key is an attribute of the identifying (or owner, parent, or dominant) entity set. Each element in the weak entity set must have a relationship with exactly one element in the owner entity set,[1] and therefore, the relationship cannot be a many-to-many relationship.

Two entities can be associated without either being classified as weak, even if one depends on the other, as long as each has its own unique attribute.[1] For instance, a person entity can be linked to a car without one of them being considered as weak entity.

In entity relationship diagrams (ER diagrams), a weak entity set is indicated by a bold (or double-lined) rectangle (the entity) connected by a bold (or double-lined) type arrow to a bold (or double-lined) diamond (the relationship). This type of relationship is called an identifying relationship and in IDEF1X notation it is represented by an oval entity rather than a square entity for base tables. An identifying relationship is one where the primary key is populated to the child weak entity as a primary key in that entity.

In general (though not necessarily) a weak entity does not have any items in its primary key other than its inherited primary key and a sequence number. There are two types of weak entities: associative entities and subtype entities. The latter represents a crucial type of normalization, where the super-type entity inherits its attributes to subtype entities based on the value of the discriminator.

In IDEF1X, a government standard for capturing requirements, possible sub-type relationships are:

  • Complete subtype relationship, when all categories are known.
  • Incomplete subtype relationship, when all categories may not be known.

A classic example of a weak entity without a sub-type relationship would be the "header/detail' records in many real world situations such as claims, orders and invoices, where the header captures information common across all forms and the detail captures information specific to individual items.

The standard example of a complete subtype relationship is the party entity. Given the discriminator PARTY TYPE (which could be individual, partnership, C Corporation, Sub Chapter S Association, Association, Governmental Unit, Quasi-governmental agency) the two subtype entities are PERSON, which contains individual-specific information such as first and last name and date of birth, and ORGANIZATION, which would contain such attributes as the legal name, and organizational hierarchies such as cost centers.

When sub-type relationships are rendered in a database, the super-type becomes what is referred to as a base table. The sub-types are considered derived tables, which correspond to weak entities. Referential integrity is enforced via cascading updates and deletes.

  1. ^ a b Elmasri, Ramez (2016). Fundamentals of database systems. Sham Navathe (Seventh ed.). Hoboken, NJ: Pearson Education. p. 79. ISBN 978-0-13-397077-7. OCLC 913842106.

and 21 Related for: Weak entity information

Request time (Page generated in 0.8285 seconds.)

Weak entity

Last Update:

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...

Word Count : 894

HTTP ETag

Last Update:

The ETag or entity tag is part of HTTP, the protocol for the World Wide Web. It is one of several mechanisms that HTTP provides for Web cache validation...

Word Count : 1298

XML external entity attack

Last Update:

occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser. This attack may lead to the disclosure...

Word Count : 841

IDEF1X

Last Update:

ER/Studio Enterprise Architect (software) IDEF0 IDEF5 ISO 10303 Logic Works Weak entity  This article incorporates public domain material from the National Institute...

Word Count : 2813

Agnosticism

Last Update:

say, "I cannot know whether a deity exists or not, and neither can you." Weak agnosticism (also called "soft", "open", "empirical", "hopeful", or "temporal...

Word Count : 8724

Weak sister

Last Update:

article on "weak sister", but its sister project Wiktionary does: Read the Wiktionary entry "weak sister" You can also: Search for Weak sister in Wikipedia...

Word Count : 0

Emergence

Last Update:

philosophy, systems theory, science, and art, emergence occurs when a complex entity has properties or behaviors that its parts do not have on their own, and...

Word Count : 5966

Sovereignty

Last Update:

structures promote inter-state peace. For instance, Zaum argues that many weak and impoverished countries that were affected by the Cold War were given...

Word Count : 8092

Argumentum a fortiori

Last Update:

inference from a claim about a stronger entity, greater quantity, or general class to one about a weaker entity, smaller quantity, or specific member of...

Word Count : 1114

White Lantern Corps

Last Update:

Source Wall, which had become significantly weaker with the draining of the light source, and releases the entities inside of him, who sacrifice themselves...

Word Count : 4770

Yucca flaccida

Last Update:

Yucca flaccida, commonly called Adam's needle or weak-leaf yucca, is a species of flowering plant in the asparagus family (Asparagaceae). It is native...

Word Count : 533

Life Entity

Last Update:

The Life Entity is a fictional creature, a physical embodiment of all life within the DC Universe. Long ago starting all life from the planet Earth, it...

Word Count : 1101

Chatbot

Last Update:

pertinent field of AI research is natural-language processing. Usually, weak AI fields employ specialized software or programming languages created specifically...

Word Count : 6595

Unified field theory

Last Update:

interacting objects but instead are described and interpreted by intermediary entities called fields. However, a duality of the fields is combined into a single...

Word Count : 1449

Anthropic principle

Last Update:

principles can be divided into "weak" and "strong" forms, depending on the types of cosmological claims they entail. The weak anthropic principle (WAP), as...

Word Count : 9882

Angel

Last Update:

the principle of evil, with a hosts of demons, in battle with the holy entities (Aməša Spəṇta) created by Ahura Mazda (principle of good). Influence of...

Word Count : 10996

Personal pronoun

Last Update:

strong and weak forms of personal pronouns, the former being used in positions with greater stress. Some authors further distinguish weak pronouns from...

Word Count : 3395

Unpaired electron

Last Update:

pair, unpaired electrons are relatively uncommon in chemistry, because an entity that carries an unpaired electron is usually rather reactive. In organic...

Word Count : 420

Quark

Last Update:

fundamental forces (electromagnetism, gravitation, strong interaction, and weak interaction), as well as the only known particles whose electric charges...

Word Count : 7564

Clarence Carter

Last Update:

the remarkably sinuous backing of Fame's exemplary backing band", and "Too Weak to Fight" (number 3 R&B, number 13 pop). Both of the preceding Atlantic singles...

Word Count : 1176

Gianni Vattimo

Last Update:

can be characterized as postmodern with his emphasis on "pensiero debole" (weak thought). This requires that the foundational certainties of modernity with...

Word Count : 2360

PDF Search Engine © AllGlobal.net