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

  • 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.

主站蜘蛛池模板: 巴林左旗| 凤阳县| 阿拉善盟| 昌都县| 苗栗市| 库尔勒市| 永昌县| 天等县| 云阳县| 星子县| 嘉祥县| 蚌埠市| 乐安县| 永吉县| 金平| 宝兴县| 宝兴县| 南平市| 鄂伦春自治旗| 岑巩县| 新田县| 崇文区| 博爱县| 张家川| 诸城市| 凤山县| 塔城市| 松原市| 北海市| 丹巴县| 定南县| 白水县| 沙河市| 吉林省| 黔江区| 白玉县| 合水县| 米泉市| 武安市| 敦化市| 韶山市|