On Wednesday November 8 2006 11:31 am, novnov wrote: > Yes, I've already pretty much decided to use lowercase for all > namestyles, I mentioned that in the first post. Using > lowercase invokes a set of other issues, which I'm asking for > options on...namely, conventions like org_id, and emp_org_id, > or simply using org_id as the fk pointer.
Not sure there is a "best" way, but I prefer org_id due to brevity and no concern for quoting. Your emp_org_id is nice for views because you don't have to disambiguate columns. ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match