当前位置:网站首页>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;
边栏推荐
- 3D detection: fast visualization of 3D box and point cloud
- Is it safe to open an account online now? Which securities company should I choose to open an account online?
- 通过 iValueConverter 给datagrid 的背景颜色 动态赋值
- Supply chain supply and demand estimation - [time series]
- Introduction to database system - Chapter 1 introduction [conceptual model, hierarchical model and three-level mode (external mode, mode, internal mode)]
- THINKPHP框架的优秀开源系统推荐
- Vmware 与主机之间传输文件
- Bashrc and profile
- Beginner XML
- 手里的闲钱是炒股票还是买理财产品好?
猜你喜欢
Reverse non return to zero code, Manchester code and differential Manchester code of common digital signal coding
Parsing of XML files
Flask session forged hctf admin
Data flow diagram, data dictionary
. Net core about redis pipeline and transactions
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
数据流图,数据字典
Battle Atlas: 12 scenarios detailing the requirements for container safety construction
Horizontal of libsgm_ path_ Interpretation of aggregation program
Leetcode simple question sharing (20)
随机推荐
Mathématiques avancées - - chapitre 8 différenciation des fonctions multivariables 1
Introduction to sakt method
IP address home location query
UML state diagram
The meaning of variables starting with underscores in PHP
Reverse non return to zero code, Manchester code and differential Manchester code of common digital signal coding
VSCode 配置使用 PyLint 语法检查器
FCOS3D label assignment
Use day JS let time (displayed as minutes, hours, days, months, and so on)
FCOS3D label assignment
mysql ”Invalid use of null value“ 解决方法
XML文件的解析操作
SAKT方法部分介绍
Evolution of customer service hotline of dewu
属性关键字Aliases,Calculated,Cardinality,ClientName
MySQL "invalid use of null value" solution
Excellent open source system recommendation of ThinkPHP framework
Mysql怎样控制replace替换的次数?
接口自动化测试-接口间数据依赖问题解决
请问,如图,pyhon云函数提示使用了 pymysql模块,这个是怎么回事?