![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello. What's the recommended way for naming linked field? For example, if we have an employee table, being the "EmployeeId" field the primary key, shouldn't all other tables that reference an employee have a "EmployeeId" field as a foreign key? I really think so. Can't see any advantage in not doing so, and many disadvantages in not sticking to this convention. But I've seen so many people disagreeing that I want to hear from you all. Thanks. Filipe Martins http://www.i-senso.com |
#3
| |||
| |||
|
|
Hello. What's the recommended way for naming linked field? For example, if we have an employee table, being the "EmployeeId" field the primary key, shouldn't all other tables that reference an employee have a "EmployeeId" field as a foreign key? I really think so. Can't see any advantage in not doing so, and many disadvantages in not sticking to this convention. But I've seen so many people disagreeing that I want to hear from you all. Thanks. Filipe Martins http://www.i-senso.com |
#4
| |||
| |||
|
|
Hello. What's the recommended way for naming linked field? For example, if we have an employee table, being the "EmployeeId" field the primary key, shouldn't all other tables that reference an employee have a "EmployeeId" field as a foreign key? I really think so. Can't see any advantage in not doing so, and many disadvantages in not sticking to this convention. But I've seen so many people disagreeing that I want to hear from you all. Thanks. |
#5
| |||
| |||
|
|
What's the recommended way for naming linked [sic: links are not references] field [sic: fields are not columns] ? |
|
For example, if we have an employee [sic: Personnel, not the name of a singleset element] table, being the "employee_Id" field [fields are not columns] the primary key, shouldn't all other tables that reference an employee have a "EmployeeId" field [sic] as a foreign key? |
#6
| |||
| |||
|
|
Hello. What's the recommended way for naming linked field? For example, if we have an employee table, being the "EmployeeId" field the primary key, shouldn't all other tables that reference an employee have a "EmployeeId" field as a foreign key? I really think so. Can't see any advantage in not doing so, and many disadvantages in not sticking to this convention. But I've seen so many people disagreeing that I want to hear from you all. Thanks. Filipe Martinshttp://www.i-senso.com |
![]() |
| Thread Tools | |
| Display Modes | |
| |