当前位置:网站首页>Naming rules of MySQL database table names -- convenient for automatic conversion tools
Naming rules of MySQL database table names -- convenient for automatic conversion tools
2022-07-23 10:42:00 【wowocpp】
MySql Database table name naming rules — It is convenient for automatic conversion tools to convert
The table name adopts 26 English letters ( Case sensitive ) and 0-9 Natural number ( In general, you don't need ) Underline “” form , Underline multiple words “” Separate
1. The format of table name is generally 【 Module name - Details 】
2. All lowercase commands , Uppercase is prohibited
3. The names of tables usually use nouns or verb object phrases
4. Abbreviations are not recommended , Complete the words
5. The name of the table cannot be too long , Generally no more than three English words , Chinese pinyin is not recommended
6. Many to many join tables can use the prefix of two tables as the table name
7. The words of table names are usually singular ( example : recommend Employee, Not recommended Employees)
8. Database keywords are prohibited , Such as name、time、datetime、password etc.
9. Use SQL Statement table creation , Description information is required
10. The log table is generally in Sys_ start , Data dictionary tables are generally in SD_ start , The system dictionary table is generally in DT_ start
11. Common table name conventions
user user
category classification
goods goods 、 goods
good_gallery Item album
good_cate Classification of items
attr attribute
article article
cart Poor shopping
feedback User feedback
order Order
site_nav Header and footer navigation
site_config System configuration table
admin Background users
role Background user role
access Background operation permission
role_admin The role corresponding to the background user
access_role Permissions corresponding to background roles
边栏推荐
- 数仓:工作流的设计以及优化实践
- IDEA 集成 Sonar 完整流程
- 添加信任列表
- Kingbasees SQL language reference manual of Jincang database (8. Function (III))
- 推荐一款 Shell 装逼神器,已开源!网友:真香。。。
- Redis transaction - detailed implementation process of seckill case simulation
- Cs5266+ma8621 do the scheme design of typec to hdmi+pd+u3+2u+sd/tf seven in one expansion dock | cs5266 multi port expansion dock pcb+ schematic diagram reference
- Customer first | domestic Bi leader, smart software completes round C financing
- SQLZOO——SELECT from WORLD Tutorial
- 8 < tag dynamic programming and LCS problems > lt.300. Longest increasing subsequence + lt.674. Longest continuous increasing sequence
猜你喜欢

Introduction to partition operators, broadcast variables and accumulators of 32 spark

千亿营收之后,阿里云生态有了新打法

网线水晶头接法图解8根顺序

UnityC#实现中文汉字转拼音-使用微软CHSPinYinConv库

More detailed series than your teacher -- structure

无套路、无陷阱、无广告 | 这个免费的即时通讯软件确定不用吗?

12 个适合做外包项目的开源后台管理系统

《Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks》论文阅读

振奋人心 元宇宙!下一代互联网的财富风口

Visual Studio 2022有趣又强大的智能辅助编码
随机推荐
NFT数字藏品版权如何保护?
《Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks》论文阅读
The difference between sprite and overridesprite in unity image (Reprint)
Chapter2 Standard Output
比你老师详细系列————结构体
Exciting metauniverse! Wealth outlet of next generation Internet
编译构建工具-bazel
第四篇章:运行时数据区——共享空间
【Warning】YOLOV5训练时的ignoring corrupt image/label: [Errno 2].....,无法全部训练数据集,快速带你解决它
32 < tag array and bit operation > supplement: Lt. sword finger offer 56 - I. number of occurrences of numbers in the array
MapReduce进阶
配饰器模式
Richview textbox items textbox
常见神经网络参数量与计算量
Kingbasees SQL language reference manual of Jincang database (8. Function (2))
数据湖:Delta Lake介绍
Clion + mingw64 configure C language development environment visual studio installation
Unityc realizes the conversion of Chinese characters to Pinyin - using Microsoft chspinyinconv Library
Industry insight | how to better build a data center? It and business should "go together"
Chapter 4 Executing Commands