当前位置:网站首页>数据库创建触发器的问题
数据库创建触发器的问题
2022-06-10 14:49:00 【CSDN问答】
为什么我插入一个不存在的客户编号时,它并没有输出我想要的结果,即“客户不存在,不能插入”,当插入一个存在的客户编号时,我的orders表,并没有成功插入呐?
下面是题目

这是我创建触发器的代码(我觉得有问题,但是我想不出该怎么改了)

下面是我插入一个不存在的客户编号时的问题

边栏推荐
- Consumption mode of Message Oriented Middleware
- [logodetection data set processing] (1) divide the data set into training set and verification set
- Brief description of adaptive function
- 自推荐-深入理解RUST标准库内核
- Data Lake (VI): Hudi and Flink integration
- Collision detection unity experiment code
- [solution] each time the trained model is loaded, the generated vector will be different
- 欧几里得算法求最大公因数 Go语言实现
- 小程序实现全局数据共享
- Kubernetes 1.24: 防止未经授权的卷模式转换
猜你喜欢

Shutter wrap button bottomnavigationbar learning summary 4

【离散数学期复习系列】五、一些特殊的图

2022第十五届南京国际数字化工业博览会

Main features of IIC bus / communication process / read / write process
![[discrete mathematics review series] v. some special charts](/img/4d/a52ba801b0421245d5e3828defc96d.png)
[discrete mathematics review series] v. some special charts
![[solution] each time the trained model is loaded, the generated vector will be different](/img/30/92ddcda69832df2bd5e335fc3b4fdd.png)
[solution] each time the trained model is loaded, the generated vector will be different

【离散数学期复习系列】六、树

Microsoft Word tutorial, how to change margins and create a newsletter column in word?

Hutool使用总结(VIP典藏版)
![[discrete mathematics review series] i. propositional logic](/img/ae/7f062cfa416a26be3d32dfb1353c80.png)
[discrete mathematics review series] i. propositional logic
随机推荐
BigDecimal removes extra 0 at the end
2022 the 14th Nanjing International artificial intelligence product exhibition
【离散数学期复习系列】三、集合的概念及运算
【離散數學期複習系列】二、一階邏輯(謂詞邏輯)
[advanced MySQL] optimize SQL by using the execution plan explain (2)
orgin框架 笔记
Golang Beep包 播放mp3 无法获取总长度 streamer.Len()为0 其他格式却可以
【离散数学期复习系列】一、命题逻辑
【离散数学期复习系列】六、树
Gin blog summary 1
CVPR 2022 Oral | SCI:实现快速、灵活与稳健的低光照图像增强
[discrete mathematics review series] v. some special charts
Gorm set foreign key
Flutter listview, column, row learning personal summary 2
Wechat applet closes the current page
【Rust日报】2022-04-19 Rust异步框架的性能评估
Flutter learning personal summary 1
This awesome low code generator is now open source!
KAtex problem - the style of equal sign alignment in CSDN editing
Meta公司新探索 | 利用Alluxio数据缓存降低Presto延迟