- 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.
推薦閱讀
- Oracle JDeveloper 11gR2 Cookbook
- Building Serverless Architectures
- 代替VBA!用Python輕松實現Excel編程
- Go語言開發實戰(慕課版)
- Vue.js應用測試
- C語言程序設計習題與實驗指導
- Android嵌入式系統程序開發:基于Cortex-A8(第2版)
- Visual C++從入門到精通(第2版)
- SSH框架企業級應用實戰
- 黑莓(BlackBerry)開發從入門到精通
- 深入理解Java虛擬機:JVM高級特性與最佳實踐
- Flink核心技術:源碼剖析與特性開發
- Android智能手機APP界面設計實戰教程
- Pandas 1.x Cookbook
- Building Web Applications with Flask