I'm currently developing an ERD for a civil case management system and don't think that what I've been envisioning is going to work well. Here's a link to the existing ERD (this is the beginning of my first go round with this diagram, go easy on me!)
Here's my issue, how should I best guarantee that I don't end up with duplicate IDs from Party, Interpretors and Attorney. If I have an ID of 100 in each of those tables, I can't do an inner join from the PartyRoles table.
I'm thinking that I may want to put all interpretors and attorneys in the same table with the parties and have an indicator of whether they are an attorney, interpretor, defendant or plaintiff.
Does that sound more feasible?
thanks for any input.
Leslie
Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
Essential reading for anyone working with databases:
The Fundamentals of Relational Database Design
Understanding SQL Joi
Here's my issue, how should I best guarantee that I don't end up with duplicate IDs from Party, Interpretors and Attorney. If I have an ID of 100 in each of those tables, I can't do an inner join from the PartyRoles table.
I'm thinking that I may want to put all interpretors and attorneys in the same table with the parties and have an indicator of whether they are an attorney, interpretor, defendant or plaintiff.
Does that sound more feasible?
thanks for any input.
Leslie
Anything worth doing is a lot more difficult than it's worth - Unknown Induhvidual
Essential reading for anyone working with databases:
The Fundamentals of Relational Database Design
Understanding SQL Joi