Implementing a 'many-to-many' database

Posted by Raven Dreamer on Stack Overflow See other posts from Stack Overflow or by Raven Dreamer
Published on 2010-06-11T18:01:15Z Indexed on 2010/06/11 18:02 UTC
Read the original article Hit count: 201

Filed under:
|
|
|

Greetings, stack*overflow*

In my database, I already have one table, 'contacts' that contains records of individual people. I also have several other tables in my database which represent "skill sets" that contain records denoting a particular skill.

1) Am I correct in plotting this as a "many-to-many" relationship? (each contact can have multiple skill sets, and each skill set can belong to multiple contacts)

2) I'm new to databases -- do I want to link the tables?

3) Is there a way to implement this in my program (C# + windows forms) such that for any given record in the 'contacts' table, either the names of all associated 'skill set' tables or all the 'skill' records associated with the 'contact' record could be retrieved?

(Database is located on SQL Server Express 2008)

© Stack Overflow or respective owner

Related posts about c#

Related posts about sql