当前位置:网站首页>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
边栏推荐
- Perceive the attention status of users on smart phones
- [force buckle] realize stack with queue
- Learning non posture gaze deviation with head movement
- [antdv: Each record in table should have a unique `key` prop,or set `rowKey` to an unique.....
- 《PyTorch深度学习实践》-B站 刘二大人-day4
- 感知智能手機上用戶的關注狀態
- Robot stitching gesture recognition and classification
- DSL implements bucket aggregation
- Vcenter6.7安装及排错
- [force buckle] flip binary tree
猜你喜欢

Résoudre le problème de l'ambiguïté de la cible dans l'interaction de fixation 3D par l'estimation de la profondeur vor

《PyTorch深度学习实践》-B站 刘二大人-day3

Read pictures and convert them to show different color spaces

Visual saliency based visual gaze estimation

Antd is not defined

5-17 hidden student services of Shaanxi University of science and technology

Experiment class II and object definition initialization

Restclient query document

Experiment 5: Gui

Depth first search (DFS for short)
随机推荐
基于视觉显著性的外观注视估计
机器学习篇-逻辑回归的分类预测
人脸识别错误
ORACLE分组排序后获取第一条和最后一条值
Experiment class II and object definition initialization
Using VOR depth estimation to solve the problem of target ambiguity in three-dimensional gaze interaction
Seachest utilities tool enables your hard disk to consume less power and live longer
SeaChest Utilities 工具,让你的硬盘功耗又低又长寿
2022/07/09 group 5 Ding Shuai's study notes day02
Preorder traversal of binary tree
海量数据
手把手搭建家用 NAS 全能服务器(1)| 配置选择及准备
[force buckle] bracket matching
吴恩达机器学习第14-15章
Vscode one dark and C extended variable color conflict settings JSON is as follows
Learning non posture gaze deviation with head movement
Preparation of blast Library of rust language from scratch (1) -- Introduction to the basics of blas
Local makefile compile other folder files specify obj directory
2022/07/12 learning notes (day05) cycle
Antd is not defined