当前位置:网站首页>SQL constraints
SQL constraints
2022-07-19 06:41:00 【hello,world_ yzs】
Put into production today , Because the constraints are stuck for a long time
cause :
Change the table structure , Change the fields that cannot be empty into fields that can be empty .
sql:
alter table tablename modify Field name null;
In this way, the corresponding non empty constraints should be deleted together , I don't know why not , You need to delete one by one manually .
external conditions :
1.plsql Do not show constraints
2. Production environment sql The table results are different from the table structure of the test environment
The root cause :
Understanding of constraints
The operation of querying and creating constraints is unclear
mysql Check constraint _MySQL Database access sql Statement to add constraints and view constraints
oracle constraint_type problem
The leader said not to change the database structure casually
If it is not empty, it can be written to death , Then the code determines that the value is not displayed
边栏推荐
- 从零开始的 Rust 语言 blas 库之预备篇(1)—— blas 基础介绍
- Some problems encountered in work
- SeaChest Utilities 工具,让你的硬盘功耗又低又长寿
- TCP protocol
- 海量数据
- Positional change of the eyeball during eye movements: evidence of translational movement
- 自下而上和自上而下的注意力:不同的过程和重叠的神经系统 2014sci
- Preparation of blast Library of rust language from scratch (1) -- Introduction to the basics of blas
- Experiment 3 inheritance and derived classes
- [force buckle] maximum depth of binary tree
猜你喜欢
随机推荐
感知智能手机上用户的关注状态
CUDA与大数组的双调排序
剑指offer刷题
Perception de l’état d’attention des utilisateurs sur les smartphones
手把手搭建家用 NAS 全能服务器(1)| 配置选择及准备
2022/07/09 group 5 Ding Shuai's study notes day02
Mapping index attribute & operation of creating index
从零开始的 Rust 语言 blas 库之预备篇(2)—— blas 矩阵格式详解
Manjaro 系统日常使用入门导引
TCP/IP四层模型以及F5部分相关配置
使用候选选择从人类注视中学习视频显著性
Set the index library structure, add suggestions that can be automatically completed to users, and turn some fields into collections and put them into suggestions
Cygwin 配合 Listary 切换当前目录快速打开
[force buckle] maximum depth of binary tree
Daily eye contact detection uses unsupervised gaze target detection
Robot stitching gesture recognition and classification
Local makefile compile other folder files specify obj directory
2022/07/12 learning notes (day05) cycle
[force buckle] realize stack with queue
Open source online markdown editor -- [editor.md]









