- Learning PostgreSQL 10(Second Edition)
- Salahaldin Juba Andrey Volkov
- 125字
- 2021-07-02 22:42:11
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 for naming 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 letters.
- The identifier name can be composed of letters, digits, underscore, and the dollar sign. For compatibility reasons, the use of the dollar sign is not recommended.
- The minimum length of the identifier is typically one character, and the maximum length is 63.
In addition to the preceding points, it is not recommended to use keywords as table names.
推薦閱讀
- 大數(shù)據(jù)戰(zhàn)爭:人工智能時(shí)代不能不說的事
- 機(jī)艙監(jiān)測與主機(jī)遙控
- 小型電動機(jī)實(shí)用設(shè)計(jì)手冊
- 基于Xilinx ISE的FPAG/CPLD設(shè)計(jì)與應(yīng)用
- HTML5 Canvas Cookbook
- Microsoft System Center Confi guration Manager
- 工業(yè)自動化技術(shù)實(shí)訓(xùn)指導(dǎo)
- Bayesian Analysis with Python
- 人工智能:語言智能處理
- INSTANT Puppet 3 Starter
- 重估:人工智能與賦能社會
- Puppet 3 Beginner’s Guide
- Deep Learning Essentials
- 軟測之魂
- Microsoft 365 Mobility and Security:Exam Guide MS-101