Table and column naming conventions when plural and singular forms are odd or the same
Posted
by Superstringcheese
on Stack Overflow
See other posts from Stack Overflow
or by Superstringcheese
Published on 2010-05-15T21:08:57Z
Indexed on
2010/05/15
21:14 UTC
Read the original article
Hit count: 287
database
|naming-conventions
In my search I found mostly arguments for whether to use plurality in database naming conventions, and ways to handle it in either case. I have decided I prefer plural table names, so I don't want to argue that.
I need to represent an animal's species and genus and so on in a database. The plural and singular form for 'species' are the same, and the plural of 'genus' is 'genera'.
I think I can get by with: Table: Genera | Column: Genus
But I'm unsure how I should handle: Table: Species | Column: Species
If I really wanted to be lazy about this I'd just name them 'species > specie' and 'genuses > genus', but I would prefer to read them in their correct forms.
Any advice would be appreciated.
© Stack Overflow or respective owner