当前位置:网站首页>MySQL check constraint
MySQL check constraint
2022-08-05 12:15:00 【Summer Invasion Bug Project】
MySQL constraint check
Conditions that must be met to enforce row data
Assume that the check constraint is defined in the salary column, and the salary column value is required to be between 10002000 and an error will be reported if it is not between 10002000
- Hint: Both oracle and sql server support check, but the lower version of mysql only supports it in syntax, but it will not take effect
//Use of checkSyntax: field name type check(check condition)Example: sex varchar(6) check(sex inspan>('man','woman'))//mysql5.7 only supports syntax, but it will not take effect边栏推荐
- What is a buffer (buffer) and what is a cache (cache)
- Quick Check of OGC WebGIS Common Service Standards (WMS/WMTS/TMS/WFS)
- 银行交易系统怎么保证数据交易强一致性?通过数据库组件?怎么保证高并发下数据库交易数据正常一致性?
- Three.js 点击模型,高亮发光模型外轮廓
- hello world、hello 计科人
- How to use the timetable applet
- treeselect common function record (with a callback function for clearing options)
- Regular expressions in action
- 790. 数的三次方根
- Cesium.js 地形挖洞
猜你喜欢

STM32H743IIT6学习笔记03——使用第三方组件FreeRTOS

MySQL之InnoDB存储结构

小家电行业供应链协同管理系统:助力企业突围市场竞争,加强供应链快速响应能力

后台权限系统的设计以及主流的五种权限模型详解

C language example - calculating the value of constant e

Food and Beverage Industry B2B Mall System: Accelerate the digital transformation of the industry and improve the transaction efficiency of the B2B platform

关注微信公众号,自动登陆网站

码率vs.分辨率,哪一个更重要?
Shang Silicon Valley-JVM-Performance Monitoring and Tuning (P302~P381)

我和TiDB的故事 | 遇上你是我的缘
随机推荐
AVL树大总结
Shang Silicon Valley-JUC
Grid Infrastructure Installation Fails with Error
安装tldr
isn't it?Is there anyone who can't locate the slow query problem of MySQL online?
我和 TiDB 的故事 | 学tidb半年,社区治好了我的精神内耗
2022.08.03_每日一题
CC2530 realizes key interrupt
One: OpenCV image reading and writing file help documentation
2022.08.03_Daily Question
什么是缓冲区(buffer),什么是缓存(cache)
2022.08.01_Daily Question
STM32H743IIT6 study notes 01 - CubeMX new project file
C language example - print calendar
OGC WebGIS 常用服务标准(WMS/WMTS/TMS/WFS)速查
[供应链·案例篇]疫情影响下的全球十大零售商都做了些什么
一次多表关联顺序的慢查询——TiDB 关联特性
尚硅谷-JUC篇
尚硅谷-JVM-内存和垃圾回收篇(P1~P203)
银行交易系统怎么保证数据交易强一致性?通过数据库组件?怎么保证高并发下数据库交易数据正常一致性?