You are on page 1of 4

8/7/13

What are Strong and Weak Entity Sets in DBMS

Search

HOME

TECHNOLOGY MOTIVA TION

A RTICLE

DISCUSSION FORUM

What are Strong and Weak Entity Sets in DBMS


WRITTEN BY DINESH THAKUR

Database Normalization What Is DBMS? Advantages And Disadvantages Of DBMS. Differentiate Between DBMS And RDBMS.Types Of DBMS. Advantages Of Database What Are The Components Of DBMS? What Are Strong And Weak Entity Sets In DBMS What Are The Difference Between DDL, DML And DCL Commands? What Is A Database Concurrency

Computer Fundamental Computer Intro. Information Tech. I/O and M emory Number System Operating system DBM S Computer Networking Structured Query (SQL) Java Script HTM L Language Cascading Style Sheet C Programming (Theory) C Programming (Pratical) Visual Basic C++ Programming Java Programming Computer Graphics Electronic Commerce M anagement (M IS) Data Structures Software Engineering Digital Electronics C#
1/4

Category: DBM S & RDBM S

The entity set which does not have sufficient attributes to form a primary key is called as Weak entity set. An entity set that has a primary key is called as Strong entity set. Consider an entity set Payment which has three attributes: payment_number, payment_date and payment_amount. Although each payment entity is distinct but payment for different loans may share the same payment number. Thus, this entity set does not have a primary key and it is an entity set. Each weak set must be a part of oneto-many relationship set. A member of a strong entity set is called dominant entity and member of weak entity set is called as subordinate entity. A weak entity set does not have a primary key but we need a means of distinguishing among all those entries in the entity set that depend on one particular strong entity set. The discriminator of a weak entity set is a set of attributes that allows this distinction be made. For example, payment_number acts as
ecomputernotes.com/fundamental/what-is-a-database/strong-and-weak-entity-sets

8/7/13

What are Strong and Weak Entity Sets in DBMS

discriminator for payment entity set. It is also called as the Partial key of the entity set. The primary key of a weak entity set is formed by the primary key of the strong entity set on which the weak entity set is existence dependent plus the weak entity sets discriminator. In the above example {loan_number, payment_number} acts as primary key for payment entity set. The relationship between weak entity and strong entity set is called as Identifying Relationship. In example, loanpayment is the identifying relationship for payment entity. A weak entity set is represented by doubly outlined box .and corresponding identifying relation by a doubly outlined diamond as shown in figure. Here double lines indicate total participation of weak entity in strong entity set it means that every payment must be related via loan-payment to some account. The arrow from loan-payment to loan indicates that each payment is for a single loan. The discriminator of a weak entity set is underlined with dashed lines rather than solid line.

Control What Is A Database Instance What Is ERModel? Advantages And Disadvantages Of E-R Model. Traditional File Processing System What Is Data Independence Of DBMS? Entity Relationship Diagram What Is A Database Architecture What Is A Database Server Database Model What Are Data Models? Type Of Data Models. Type Of Functional Dependence (FD) Database Management System What Is DBA?

Programming Database System

About Us

+2 Recommend this

Di n esh T h a ku r is a

Colu m in ist and w it h pa ssion fou n der Computer Notes . if y ou h a v e a n y idea s or a n y r equ est plea se g et @m e on desig n er st r on g and of

ecomputernotes.com/fundamental/what-is-a-database/strong-and-weak-entity-sets

2/4

8/7/13

What are Strong and Weak Entity Sets in DBMS

What Are INTANCES, SCHEMAS AND SUBSCHEMA In DBMS? Database Languages Database Approach

Let us consider another scenario, where we want to store the information of employees and their dependents. The every employee may have zero to n number of dependents. Every dependent has an id number and name. Now let us consider the following data base: There are three employees having E# as 1, 2, and 3 respectively. Employee having E# 1, has two dependents as 1, Rahat and 2, Chahat. Employee having E# 2, has no dependents. Employee having E# 3, has three dependents as 1, Raju; 2, Ruhi; 3 Raja. Now, in case of Dependent entity id cannot act as primary key because it is not unique. Thus, Dependent is a weak entity set having id as a discriminator. It has a total participation with the relationship "has" because no dependent can exist without the employees (the company is concerned with employees). The E-R diagram for the employee-dependent database is shown. There are two tables need to created above e-r diagram. These are Employee having E# as single column which acts as primary key. The other table will be of Dependent having E#, id and name columns where primary key is the combination of (E# and id).
ecomputernotes.com/fundamental/what-is-a-database/strong-and-weak-entity-sets

What Is A Database Schema What Are The Functions And Service Of DBMS Relational Model What Is Metadata OR Data Dictionary? Database System Structure What Is Difference Between Relation And Relational Schema? What Is The Role Of DBA, Data Manager, File Manager, And Disk Manager?
3/4

8/7/13

What are Strong and Weak Entity Sets in DBMS

The tabular comparison between Strong Entity Set and Weak Entity Set is as follows:

What Are The Problems With E-R Model? Network Model Type Of Database System E-R NOTATION What Is A Database View What Is A Database Users What Is The Basic Construction Of E-R Modeling? What Is A Database Object What Is The Procedure For Database

Tata AIG Health Insurance


healthcare-tataaig.com/Health-Cover

Access?

Claims Service Company Award - 2012 No Medical Exam. Daily Cash Benefit

Oracle Database DBMS SQL Database

Connect Us On FaceBook Dinesh Thakur is a Technology Columinist and founder of Computer Notes and Technology M otivation. M ail M e At (@Computer Notes)

ecomputernotes.com/fundamental/what-is-a-database/strong-and-weak-entity-sets

4/4

You might also like