- 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.
推薦閱讀
- Embedded Linux Projects Using Yocto Project Cookbook
- C語言程序設計案例教程(第2版)
- Mastering OpenCV Android Application Programming
- Hands-On Data Structures and Algorithms with JavaScript
- JavaFX Essentials
- Learning Apache Kafka(Second Edition)
- Raspberry Pi Home Automation with Arduino(Second Edition)
- RabbitMQ Essentials
- Java網絡編程核心技術詳解(視頻微課版)
- Learning jQuery(Fourth Edition)
- Learning Material Design
- Geospatial Development By Example with Python
- 區塊鏈國產化實踐指南:基于Fabric 2.0
- R語言:邁向大數據之路(加強版)
- Sails.js Essentials