File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

remove many to many relationship

 
anarkali perera
Ranch Hand
Posts: 237
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to remove many to many relation ship on a table?
 
Campbell Ritchie
Sheriff
Pie
Posts: 47270
52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put something in between.
Man ---- Wife is a one-to-one relationship. (Well, some of the time, anyway )
Brother ---- sister might be a many-to-many relationship. Put something in between; you can have a "sibship" with one brother and one sister and you interpose that between brother and sister
Brother ---- sibship = one-to-many: one brother many have several sibships. Sibship ---- sister = many-to-one: several sibships may lead to one sister.
Brother ---- sibship ---- sister is now no longer a many-to-many.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic