官术网_书友最值得收藏!

  • Learning PostgreSQL 11
  • Salahaldin Juba Andrey Volkov
  • 129字
  • 2021-07-02 13:11:47

PostgreSQL identifiers

The length of PostgreSQL object names is 63 characters; PostgreSQL also follows ANSI SQL regarding case-sensitivity. If you wanted to use camel case or restricted symbols, such as dashes to name database objects, you could achieve that by putting the identifier name in double quotes. PostgreSQL identifier names have the following constraints:

  • The identifier name should start with an underscore or a letter. Letters can be Latin or non-Latin.
  • The identifier name can be composed of letters, digits, underscore, and the dollar sign. For compatibility reasons, the use of the dollar sign isn't recommended.
  • The minimum length of the identifier is typically 1 character, and the maximum length is 63.

In addition to the preceding points, it isn't recommended to use keywords as table names.

主站蜘蛛池模板: 基隆市| 青龙| 旌德县| 改则县| 阿克| 沽源县| 娱乐| 额济纳旗| 崇信县| 隆化县| 连平县| 修文县| 清镇市| 沛县| 周至县| 邵阳县| 隆尧县| 仁怀市| 玉田县| 牟定县| 淮北市| 郴州市| 宽城| 临安市| 张家界市| 东丰县| 富宁县| 辽阳市| 体育| 星座| 孟津县| 小金县| 玉山县| 大厂| 洛浦县| 东丰县| 绵阳市| 萨迦县| 凉城县| 桂平市| 确山县|