当前位置:网站首页>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;
边栏推荐
- 供应链供需预估-[时间序列]
- Environment configuration
- mysql ”Invalid use of null value“ 解决方法
- Mathématiques avancées - - chapitre 8 différenciation des fonctions multivariables 1
- "Song of ice and fire" in the eleventh issue of "open source Roundtable" -- how to balance the natural contradiction between open source and security?
- 请问,我kafka 3个分区,flinksql 任务中 写了 join操作,,我怎么单独给join
- Oracle advanced (V) schema solution
- PC端页面如何调用QQ进行在线聊天?
- 請問,在使用flink sql sink數據到kafka的時候出現執行成功,但是kafka裏面沒有數
- c#通过frame 和 page 切换页面
猜你喜欢

Redis can only cache? Too out!
![GVIM [III] [u vimrc configuration]](/img/82/38355d7914e5fe490546347e57e35d.png)
GVIM [III] [u vimrc configuration]

Advanced Mathematics - Chapter 8 differential calculus of multivariate functions 1

使用day.js让时间 (显示为几分钟前 几小时前 几天前 几个月前 )

数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】

Mathématiques avancées - - chapitre 8 différenciation des fonctions multivariables 1

2022-7-6 使用SIGURG来接受外带数据,不知道为什么打印不出来

Details of redis core data structure & new features of redis 6
![Supply chain supply and demand estimation - [time series]](/img/2c/82d118cfbcef4498998298dd3844b1.png)
Supply chain supply and demand estimation - [time series]
![供应链供需预估-[时间序列]](/img/2c/82d118cfbcef4498998298dd3844b1.png)
供应链供需预估-[时间序列]
随机推荐
Attribute keywords aliases, calculated, cardinality, ClientName
2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
The delivery efficiency is increased by 52 times, and the operation efficiency is increased by 10 times. See the compilation of practical cases of financial cloud native technology (with download)
高等数学---第八章多元函数微分学1
3D detection: fast visualization of 3D box and point cloud
requires php ~7.1 -&gt; your PHP version (7.0.18) does not satisfy that requirement
Flask session forged hctf admin
IP and long integer interchange
What are the principles for distinguishing the security objectives and implementation methods that cloud computing security expansion requires to focus on?
The reason why data truncated for column 'xxx' at row 1 appears in the MySQL import file
[high frequency interview questions] difficulty 2.5/5, simple combination of DFS trie template level application questions
Build a secure and trusted computing platform based on Kunpeng's native security
Cesium 已知一点经纬度和距离求另一个点的经纬度
Is it safe to open an account online now? Which securities company should I choose to open an account online?
一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】
Laravel5 call to undefined function openssl cipher iv length() 报错 PHP7开启OpenSSL扩展失败
mysql导入文件出现Data truncated for column ‘xxx’ at row 1的原因
Excellent open source system recommendation of ThinkPHP framework
Environment configuration
GVIM [III] [u vimrc configuration]