![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" I figured that I would get a feel here for what the general consensus is from the group. I am from the school that says plural because the table holds multiples of one thing. A table that holds employee information should be called Employees. Some of the members of the group here simply think that the table should not be treated as holding a group of employees, but rather it should be treated as simply a place that contains information about THE employee. If someone can point me to a definitive standard (if one does exist) I would be most grateful. If we are going to go one way or another I want to have the decision documented in the appendix of the document so that when people read this years form now there is a clear path of WHY we decided what we did. |
#3
| |||
| |||
|
|
Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" I figured that I would get a feel here for what the general consensus is from the group. I am from the school that says plural because the table holds multiples of one thing. A table that holds employee information should be called Employees. Some of the members of the group here simply think that the table should not be treated as holding a group of employees, but rather it should be treated as simply a place that contains information about THE employee. If someone can point me to a definitive standard (if one does exist) I would be most grateful. If we are going to go one way or another I want to have the decision documented in the appendix of the document so that when people read this years form now there is a clear path of WHY we decided what we did. |
#4
| |||
| |||
|
|
Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" I figured that I would get a feel here for what the general consensus is from the group. I am from the school that says plural because the table holds multiples of one thing. A table that holds employee information should be called Employees. Some of the members of the group here simply think that the table should not be treated as holding a group of employees, but rather it should be treated as simply a place that contains information about THE employee. |
|
If someone can point me to a definitive standard (if one does exist) I would be most grateful. |
#5
| ||||
| ||||
|
|
Ray Cassick (home) wrote: Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" I figured that I would get a feel here for what the general consensus is from the group. I am from the school that says plural because the table holds multiples of one thing. A table that holds employee information should be called Employees. Some of the members of the group here simply think that the table should not be treated as holding a group of employees, but rather it should be treated as simply a place that contains information about THE employee. First of all, let's clarify the context. Are you talking about relational database systems? Yes, I am. Both MS SQL and Oracle for now. |
|
If so, in an RDBMS a table represents a SET. The table that holds employee information represents the set of employees. It's always been my opinion that plural table names confuse the set with its contents. The employees are the contents of the set. They are many, so they are plural. But the set itself is singluar. There is only one set of employees -- the employee set is a set of employees. Confusing a set with the contents of the set is akin to confusing a table with a row. Since the table name refers to the table, and the table is a set, and the set (not the contents, but the set itself) is singular, then the table name should be singular. Well I have to say that was probably the best explination I have seen as to |
|
If someone can point me to a definitive standard (if one does exist) I would be most grateful. I don't know if one exists. I think it's mainly a religious argument. However, I don't think I've ever seen my argument above debunked. The explaination is very good. I can't belive that there is not some |
|
Larry Coon University of California larry (AT) assist (DOT) org and lmcoon (AT) home (DOT) com |
#6
| |||
| |||
|
|
"Should table names be in the plural or singular forms?" I seem to remember a recent post on another thread in this group from |

#7
| |||
| |||
|
|
"Larry Coon" <lmcoon (AT) nospam_cox (DOT) net> wrote in message news:3F521C3E.59DA (AT) nospam_cox (DOT) net... Ray Cassick (home) wrote: Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" I figured that I would get a feel here for what the general consensus is from the group. I am from the school that says plural because the table holds multiples of one thing. A table that holds employee information should be called Employees. Some of the members of the group here simply think that the table should not be treated as holding a group of employees, but rather it should be treated as simply a place that contains information about THE employee. First of all, let's clarify the context. Are you talking about relational database systems? Yes, I am. Both MS SQL and Oracle for now. If so, in an RDBMS a table represents a SET. The table that holds employee information represents the set of employees. It's always been my opinion that plural table names confuse the set with its contents. The employees are the contents of the set. They are many, so they are plural. But the set itself is singluar. There is only one set of employees -- the employee set is a set of employees. Confusing a set with the contents of the set is akin to confusing a table with a row. Since the table name refers to the table, and the table is a set, and the set (not the contents, but the set itself) is singular, then the table name should be singular. Well I have to say that was probably the best explination I have seen as to WHY to go singular. If someone can point me to a definitive standard (if one does exist) I would be most grateful. I don't know if one exists. I think it's mainly a religious argument. However, I don't think I've ever seen my argument above debunked. The explaination is very good. I can't belive that there is not some standard set otu for this yet. There is for practiclly everythign else. |
#8
| |||
| |||
|
|
Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" [snip] |
#9
| |||
| |||
|
|
"Ray Cassick (home)" <raycassNOSPAM (AT) adelphia (DOT) net> wrote in message news:4qf4b.11737$Nc.6608551 (AT) news1 (DOT) news.adelphia.net... Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" [snip] From a theory standpoint, it's just a name. X and Y are as good as any other names. |
#10
| |||
| |||
|
|
"Ray Cassick (home)" <raycassNOSPAM (AT) adelphia (DOT) net> wrote in message news:4qf4b.11737$Nc.6608551 (AT) news1 (DOT) news.adelphia.net... Well my company is going through its processes of writing company standards documents and we are at the age old question: "Should table names be in the plural or singular forms?" [snip] For what it is worth, my rather strong belief is that attributes should be named so that they capture as far as possible the tuple predicted. |
![]() |
| Thread Tools | |
| Display Modes | |
| |