当前位置:网站首页>oracle 触发器实现级联更新
oracle 触发器实现级联更新
2022-07-07 12:12:00 【sinat_36789271】
create or replace TRIGGER 触发器名字
AFTER UPDATE OF 更新表的更新列列名a1 ON 更新表表名a
FOR EACH ROW
BEGIN
IF :OLD.更新表的更新列列名a1<>:NEW.更新表的更新列列名a1 THEN
UPDATE 级联更新表表名b SET 级联更新列列名b1=:NEW.更新表的更新列列名a1 WHERE 级联更新列列名b1=:OLD.更新表的更新列列名a1;
END IF;
END;
边栏推荐
- VSCode 配置使用 PyLint 语法检查器
- PHP中用下划线开头的变量含义
- Vscode configuration uses pylint syntax checker
- Leetcode simple question sharing (20)
- 供应链供需预估-[时间序列]
- "New red flag Cup" desktop application creativity competition 2022
- 高等數學---第八章多元函數微分學1
- Dry goods | summarize the linkage use of those vulnerability tools
- Is it safe to open an account online now? Which securities company should I choose to open an account online?
- 最长上升子序列模型 AcWing 482. 合唱队形
猜你喜欢

Selenium库
![[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?](/img/fb/17e029b1d955965d7e2e0f58701d91.png)
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?

手把手教会:XML建模
![GVIM [III] [u vimrc configuration]](/img/82/38355d7914e5fe490546347e57e35d.png)
GVIM [III] [u vimrc configuration]

2022-7-7 Leetcode 34.在排序数组中查找元素的第一个和最后一个位置

Details of redis core data structure & new features of redis 6

Advanced Mathematics - Chapter 8 differential calculus of multivariate functions 1

Vscode configuration uses pylint syntax checker

VSCode 配置使用 PyLint 语法检查器

Use day JS let time (displayed as minutes, hours, days, months, and so on)
随机推荐
为租客提供帮助
高等数学---第八章多元函数微分学1
2022-7-6 初学redis(一)在 Linux 下下载安装并运行 redis
Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
常用數字信號編碼之反向不歸零碼碼、曼徹斯特編碼、差分曼徹斯特編碼
wpf dataGrid 实现单行某个数据变化 ui 界面随之响应
648. Word replacement: the classic application of dictionary tree
Laravel5 call to undefined function OpenSSL cipher IV length() error php7 failed to open OpenSSL extension
Leetcode simple question sharing (20)
Environment configuration of lavarel env
Hands on Teaching: XML modeling
call undefined function openssl_ cipher_ iv_ length
IP address home location query
FC连接数据库,一定要使用自定义域名才能在外面访问吗?
一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
Introduction to sakt method
Excuse me, why is it that there are no consumption messages in redis and they are all piled up in redis? Cerely is used.
属性关键字Aliases,Calculated,Cardinality,ClientName
最长上升子序列模型 AcWing 1012. 友好城市
MySQL "invalid use of null value" solution