Many to many relation ship
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: Many to many relation ship

  1. #1
    Join Date
    Jul 2002
    Posts
    29
    Hi,

    If we get many to many relation ship while we r designing the database what do we do.

    Please give me the exact answer.


    Cheers,
    Share on Google+

  2. #2
    Join Date
    Dec 2001
    Location
    Keene, NH
    Posts
    510
    Well, the 'exact answer' is to go to your Data Modeling material and look up "Associative Entity". An associative entity is a result of taking a many-to-many relationship, creating a new entity and having the two original entities each in a relationship with the associative entity 1-to-many.

    Berfore:

    E1 (m)----------------------(m) E2


    After:

    E1 (1)-----------(m) New Associative Entity (m)---------(1) E2

    Share on Google+

  3. #3
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,095
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width