Is there a naming convention for MySQL?

前端 未结 7 1071
鱼传尺愫
鱼传尺愫 2020-11-29 15:35

Here\'s how I do it:

  1. Table names are lower case, uses underscores to separate words, and are singular (e.g. foo, foo_bar, etc.
  2. <
7条回答
  •  再見小時候
    2020-11-29 16:29

    MySQL has a short description of their more or less strict rules:

    https://dev.mysql.com/doc/internals/en/coding-style.html

    Most common codingstyle for MySQL by Simon Holywell:

    http://www.sqlstyle.guide/

    See also this question: Are there any published coding style guidelines for SQL?

提交回复
热议问题