当前位置:网站首页>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
边栏推荐
- Kingbasees SQL language reference manual of Jincang database (8. Function (7))
- PyQt5_QListWidget分页多选控件
- kex_ exchange_ Identification: read: connection reset by peer imperfect solution (one)
- 7.< tag-动态规划和买卖股票合集>lt.121. 买卖股票的最佳时机 + lt.122.买卖股票的最佳时机 II+ lt.123. 买卖股票的最佳时机 III dbc
- 04_ue4进阶_物理碰撞入门和发射火球
- The difference between sprite and overridesprite in unity image (Reprint)
- Hololens third perspective development [nanny level tutorial] [stepping on the pit record]
- Response对象
- 32 < tag array and bit operation > supplement: Lt. sword finger offer 56 - I. number of occurrences of numbers in the array
- 2022/7/21
猜你喜欢

The safe distance between you and personal information leakage may be decided by a laptop!
![[c #] IEnumerable enumerable type interface analysis yield](/img/08/8c346ce257b4adc0bea80bf05b6f52.png)
[c #] IEnumerable enumerable type interface analysis yield

7.< tag-动态规划和买卖股票合集>lt.121. 买卖股票的最佳时机 + lt.122.买卖股票的最佳时机 II+ lt.123. 买卖股票的最佳时机 III dbc

Customer first | domestic Bi leader, smart software completes round C financing

Sequence model (2) - natural language processing and word nesting

What is the difference between College coder and 985 programmer?

How to delete an item in sonar

CV (3)- CNNs

No routines, no traps, no advertisements | are you sure you don't need this free instant messaging software?

Seektiger's okaleido has a big move. Will the STI of ecological pass break out?
随机推荐
HoloLens第三视角开发【保姆级教程】【踩坑记录】
Chapter2 Standard Output
Cache penetration, cache breakdown, cache avalanche
Kingbasees SQL language reference manual of Jincang database (8. Function (III))
SQLZOO——SELECT Quiz
kex_ exchange_ Identification: read: connection reset by peer imperfect solution (one)
[Delphi] a simple method to make the installation icon of the control panel (translation)
Kingbasees SQL language reference manual of Jincang database (8. Function (9))
交换机Exchanges
LeetCode刷题--点滴记录023
常见神经网络参数量与计算量
记一次 .NET 某智能交通后台服务 CPU爆高分析
Chrome selenium uses the default profile without emptying it every time
[qt5.12] qt5.12 installation tutorial
What is the difference between College coder and 985 programmer?
04_ue4进阶_物理碰撞入门和发射火球
数据湖:Apache Iceberg介绍
Exciting metauniverse! Wealth outlet of next generation Internet
【Warning】YOLOV5训练时的ignoring corrupt image/label: [Errno 2].....,无法全部训练数据集,快速带你解决它
Unity Image中Sprite和overrideSprite区别(转载)