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

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.

主站蜘蛛池模板: 左云县| 咸丰县| 洛川县| 扎鲁特旗| 海安县| 两当县| 丽江市| 元朗区| 中江县| 新竹县| 郸城县| 科尔| 邓州市| 吴川市| 晴隆县| 甘南县| 醴陵市| 洛隆县| 二连浩特市| 大英县| 丹凤县| 类乌齐县| 剑阁县| 深圳市| 石家庄市| 开鲁县| 深水埗区| 扎囊县| 双牌县| 新郑市| 金溪县| 花莲市| 饶平县| 哈巴河县| 石屏县| 西华县| 昌黎县| 淮滨县| 鞍山市| 德昌县| 桓台县|