Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2007
    Posts
    2

    Unanswered: database design issue

    Here's a situation I'm trying to replicate in a database. A CASE can be tied to multiple EVENTS and an EVENT can have multiple CONTACTS. Each CASE or a CONTACT can have a SURVEY.
    I am unable to figure a way to accomplish the last task.

    Any help is greatly appreciated!
    -Jay

    Note: Words in capitals represent tables.

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Create a table of surveys and include the primary key as a foreign key in the CASE and CONTACTS tables.
    Not sure what is so difficult about this...
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  3. #3
    Join Date
    Feb 2004
    Location
    One Flump in One Place
    Posts
    14,912
    Quote Originally Posted by blindman
    Not sure what is so difficult about this...
    Losing a table made it easier I guess
    Testimonial:
    pootle flump
    ur codings are working excelent.

  4. #4
    Join Date
    Jun 2007
    Posts
    2

    Talking Thanks

    Thank you Blindman...I guess i was thinking out loud

  5. #5
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Glad to help. Welcome to the forums.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

Posting Permissions

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