Hi everyone,
Staff
StaffId *
Name
Department
DepartmentId *
Name
StaffDepartment
StaffId
DepartmentId
However he would want to do this:
Staff
StaffId *
Name
DepartmentId (Nullable)
Department
DepartmentId *
Name
.
Hi
First off good luck convincing him that you are correct. (You are correct)
Relational databases should contain minimum amout of repeated data for following reasons.
a) Your bosses solution will need more disk space which meabs records take longer to load etc. Try calculating extra disk space required. You know how many records and field length allocated for department.
b) Multiple department entries (your bosses method) will lead to spelling mistakes will lead to bad reporting, etc.
Your method will allow for the department to be entered once. One possible spelling mistake, one place to update, etc.
Your method leads to easier reporting, less errors, less disk space used, quicker running.
Let us know how you get on please.
Denis