当前位置:网站首页>mysql设置触发器问题
mysql设置触发器问题
2022-07-05 06:33:00 【CSDN问答】
在考生文件夹下给出的企业数据库db_ emp中包含职工 表tb_ employee和部门 门表tb_ dept.
职工表有部门号(deptno) ,工资(salary) ,部门表有 部门]号(deptno) 、 部门名称(dname)
设计一个名称为t_ emp的触发器, 完成的功能是:当删除 部门表中的记录时,将职工表中的部门号(deptno) 置 空。并使用命令删除部门号(deptno) 为D2的行触发该触发器,并查看结果。
边栏推荐
- 博弈论 AcWing 892. 台阶-Nim游戏
- Game theory acwing 893 Set Nim game
- Rehabilitation type force deduction brush question notes D1
- 1.手动创建Oracle数据库
- 2022-5-第四周日报
- Genesis builds a new generation of credit system
- 求组合数 AcWing 888. 求组合数 IV
- Some classic recursion problems
- Redis-01. First meet redis
- Speedtree01 generator properties
猜你喜欢
7. Oracle table structure
The “mode“ argument must be integer. Received an instance of Object
Client use of Argo CD installation
How to make water ripple effect? This wave of water ripple effect pulls full of retro feeling
Sum of two numbers, the numbers in the array are converted to decimal, added, and output inversely
Financial risk control practice -- feature derivation based on time series
Game theory acwing 894 Split Nim game
Adg5412fbruz-rl7 applies dual power analog switch and multiplexer IC
Rehabilitation type force deduction brush question notes D1
3.Oracle-控制文件的管理
随机推荐
4.Oracle-重做日志文件管理
Day 2 document
Orin 安装CUDA环境
TypeScript入门
Chinese remainder theorem acwing 204 Strange way of expressing integers
Modnet matting model reproduction
Get class files and attributes by reflection
Vant Weapp SwipeCell設置多個按鈕
Knapsack problem acwing 9 Group knapsack problem
Interval problem acwing 906 Interval grouping
Ffmpeg build download (including old version)
[Gaode map POI stepping pit] amap Placesearch cannot be used
Use ffmpeg to rotate, flip up and down, and flip horizontally
Game theory acwing 894 Split Nim game
Genesis builds a new generation of credit system
Vscode editor
Dataframe (1): introduction and creation of dataframe
SolidWorks template and design library are convenient for designers to call
Find the combination number acwing 887 Find combination number III
MQClientException: No route info of this topic: type_ topic