当前位置:网站首页>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边栏推荐
猜你喜欢
The principle and application scenario of mysql master-slave synchronization

Detailed analysis of the three cluster strategies of Redis

IPMP、PMP、CPMP三个证书该如何选择,有什么区别,哪个对于工作上的

第四篇 SQL常规命令(DML)

碘乙酰胺在Desthiobiotin-Iodoacetamide试剂中的作用?

STM32H743IIT6 study notes 01 - CubeMX new project file

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

For high performance, large scale model training, this combination "career"

自从用了 Kiali 以后才知道,配置 Istio 的 流量管理 是如此容易

InnoDB storage structure of MySQL
随机推荐
swig 语法介绍
STM32H743IIT6学习笔记01——CubeMX新建工程文件
How to use the timetable applet
我和TiDB的故事 | 遇上你是我的缘
Grid Infrastructure Installation Fails with Error
码率vs.分辨率,哪一个更重要?
ADC acquisition of CC2530
InnoDB storage structure of MySQL
后缀自动机(SAM)——黑盒使用方案
C语言例题-打印日历
后台权限系统的设计以及主流的五种权限模型详解
NFT卡牌游戏系统dapp开发NFT链游技术
One: OpenCV image reading and writing file help documentation
The Object of the method
2022.08.01_Daily Question
Regular expressions in action
小家电行业供应链协同管理系统:助力企业突围市场竞争,加强供应链快速响应能力
MySQL之InnoDB线程模型
Grid Infrastructure Installation Fails with Error
AVL树大总结