当前位置:网站首页>Cascading update with Oracle trigger
Cascading update with Oracle trigger
2022-07-07 14:14:00 【sinat_ thirty-six million seven hundred and eighty-nine thousan】
create or replace TRIGGER Trigger name
AFTER UPDATE OF Update column name of the update table a1 ON Update table name a
FOR EACH ROW
BEGIN
IF :OLD. Update column name of the update table a1<>:NEW. Update column name of the update table a1 THEN
UPDATE Cascade update table name b SET Cascade update column name b1=:NEW. Update column name of the update table a1 WHERE Cascade update column name b1=:OLD. Update column name of the update table a1;
END IF;
END;
边栏推荐
- The longest ascending subsequence model acwing 482 Chorus formation
- Social responsibility · value co creation, Zhongguancun network security and Information Industry Alliance dialogue, wechat entrepreneur Haitai Fangyuan, chairman Mr. Jiang Haizhou
- Interface automation test - solution of data dependency between interfaces
- 属性关键字Aliases,Calculated,Cardinality,ClientName
- 最长上升子序列模型 AcWing 1014. 登山
- Hangdian oj2092 integer solution
- requires php ~7.1 -&gt; your PHP version (7.0.18) does not satisfy that requirement
- 请问,redis没有消费消息,都在redis里堆着是怎么回事?用的是cerely 。
- 用例图
- Parsing of XML files
猜你喜欢
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
手把手教会:XML建模
最长上升子序列模型 AcWing 1012. 友好城市
Vmware 与主机之间传输文件
Codes de non - retour à zéro inversés, codes Manchester et codes Manchester différentiels couramment utilisés pour le codage des signaux numériques
Redis 核心数据结构 & Redis 6 新特性详
2022-7-6 Leetcode 977. Square of ordered array
Reverse non return to zero code, Manchester code and differential Manchester code of common digital signal coding
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点
Introduction to sakt method
随机推荐
[network security] SQL injection syntax summary
UML 顺序图(时序图)
requires php ~7.1 -&gt; your PHP version (7.0.18) does not satisfy that requirement
Is the compass stock software reliable? Is it safe to trade stocks?
Excuse me, when using Flink SQL sink data to Kafka, the execution is successful, but there is no number in Kafka
Laravel Form-builder使用
PostgreSQL array type, each splice
bashrc与profile
Beginner XML
Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]
Million data document access of course design
How can the PC page call QQ for online chat?
FCOS3D label assignment
Dry goods | summarize the linkage use of those vulnerability tools
libSGM的horizontal_path_aggregation程序解读
[AI practice] Application xgboost Xgbregressor builds air quality prediction model (II)
Hangdian oj2092 integer solution
[daily training -- Tencent select 50] 231 Power of 2
Take you to master the three-tier architecture (recommended Collection)
NDK beginner's study (1)