当前位置:网站首页>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;
边栏推荐
- [fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
- 2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
- Excuse me, as shown in the figure, the python cloud function prompt uses the pymysql module. What's the matter?
- ES日志报错赏析-Limit of total fields
- "New red flag Cup" desktop application creativity competition 2022
- Clickhouse (03) how to install and deploy Clickhouse
- docker部署oracle
- Advanced Mathematics - Chapter 8 differential calculus of multivariate functions 1
- 2022-7-6 beginner redis (I) download, install and run redis under Linux
- Beginner XML
猜你喜欢

Social responsibility · value co creation, Zhongguancun network security and Information Industry Alliance dialogue, wechat entrepreneur Haitai Fangyuan, chairman Mr. Jiang Haizhou

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
![Supply chain supply and demand estimation - [time series]](/img/2c/82d118cfbcef4498998298dd3844b1.png)
Supply chain supply and demand estimation - [time series]
![GVIM [III] [u vimrc configuration]](/img/82/38355d7914e5fe490546347e57e35d.png)
GVIM [III] [u vimrc configuration]

Leecode3. Longest substring without repeated characters

常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码

.net core 关于redis的pipeline以及事务

Leetcode simple question sharing (20)

gvim【三】【_vimrc配置】

使用day.js让时间 (显示为几分钟前 几小时前 几天前 几个月前 )
随机推荐
.net core 关于redis的pipeline以及事务
数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】
TPG x AIDU | AI leading talent recruitment plan in progress!
Excuse me, as shown in the figure, the python cloud function prompt uses the pymysql module. What's the matter?
libSGM的horizontal_path_aggregation程序解读
The difference between memory overflow and memory leak
"New red flag Cup" desktop application creativity competition 2022
【日常训练--腾讯精选50】231. 2 的幂
最长上升子序列模型 AcWing 1014. 登山
mysql导入文件出现Data truncated for column ‘xxx’ at row 1的原因
mysql ”Invalid use of null value“ 解决方法
The reason why data truncated for column 'xxx' at row 1 appears in the MySQL import file
Help tenants
带你掌握三层架构(建议收藏)
常用數字信號編碼之反向不歸零碼碼、曼徹斯特編碼、差分曼徹斯特編碼
GVIM [III] [u vimrc configuration]
Flask session forged hctf admin
Realization of search box effect [daily question]
648. Word replacement: the classic application of dictionary tree
Is it safe to open an account online now? Which securities company should I choose to open an account online?