Hi There,
I'm sure we all know of the Northwind self join, "employees" and the "reports to" field
I have a question about the same situation.
The DB I'm working on has the exact same situation, the only difference is that it's not a autonumber PK but a natural PK, one that's quite a bit longer.
There's employees and their "Line Managers" which are also employees. I was thinking about leaving it the way it was so that each record within the table had the line manager named rather than having a field with the PK self join.
The only reason for this is because the PK is quite long "General 1 Assist" (that kind of thing) and I don't see the benifit in having this in two fields within the same table.
Can anyone help me out and tell me what your opinion is....
Any help would be grateful.
Thanks
I'm sure we all know of the Northwind self join, "employees" and the "reports to" field
I have a question about the same situation.
The DB I'm working on has the exact same situation, the only difference is that it's not a autonumber PK but a natural PK, one that's quite a bit longer.
There's employees and their "Line Managers" which are also employees. I was thinking about leaving it the way it was so that each record within the table had the line manager named rather than having a field with the PK self join.
The only reason for this is because the PK is quite long "General 1 Assist" (that kind of thing) and I don't see the benifit in having this in two fields within the same table.
Can anyone help me out and tell me what your opinion is....
Any help would be grateful.
Thanks