- 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.
推薦閱讀
- 大數據導論:思維、技術與應用
- 嵌入式系統應用
- 工業機器人產品應用實戰
- Learning Microsoft Azure Storage
- 精通Windows Vista必讀
- Learning Apache Cassandra(Second Edition)
- Windows環境下32位匯編語言程序設計
- The Python Workshop
- Mastering ServiceNow Scripting
- 內模控制及其應用
- Linux Shell編程從初學到精通
- Mastering Geospatial Analysis with Python
- 會聲會影X4中文版從入門到精通
- ZigBee無線通信技術應用開發
- 人工智能:智能人機交互