What is the best practice in naming your “user” table?

前端 未结 5 1892
萌比男神i
萌比男神i 2020-12-23 16:04

Here\'s three best practices I try to follow when naming tables:

  • Never name a table with plural (such as \"users\")
  • Never name a table using a reserve
5条回答
  •  北海茫月
    2020-12-23 16:44

    I agree, do not use any reserved words, or quoted or bracketed or escaped forms of reserved words.

    Name the User table Person.

    You may be interested in this answer and google for the ISO standard 11179 for naming Guidelines

提交回复
热议问题