![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
This is more of an opinion question, but does anyone use/know of a standard way to ID field names that are foriegn keys? for instance: contentID -> ID for this table siteID -> related to the site table otherID -> related to the other table I started using: contentID siteID_fk otehrID_fk but thought I'd see if there were other established ways to ID those. -Darrel |
#3
| |||
| |||
|
|
The standard way? Set up a foreign key constraint and leave the field name alone. |
|
The surest way to spot an amateur is to see tables named "tblUsers" and other such nonsense. <-- wink means don't take offense because you didask for opinions. |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |