当前位置:网站首页>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;
边栏推荐
- Laravel5 call to undefined function OpenSSL cipher IV length() error php7 failed to open OpenSSL extension
- Cesium knows the longitude and latitude of one point and the distance to find the longitude and latitude of another point
- Help tenants
- Supply chain supply and demand estimation - [time series]
- AutoCAD - how to input angle dimensions and CAD diameter symbols greater than 180 degrees?
- 数据库系统概论-第一章绪论【概念模型、层次模型和三级模式(外模式、模式、内模式)】
- GVIM [III] [u vimrc configuration]
- 請問,在使用flink sql sink數據到kafka的時候出現執行成功,但是kafka裏面沒有數
- Parameter keywords final, flags, internal, mapping keywords internal
- How to check the ram and ROM usage of MCU through Keil
猜你喜欢
Reverse non return to zero code, Manchester code and differential Manchester code of common digital signal coding
Mathématiques avancées - - chapitre 8 différenciation des fonctions multivariables 1
为租客提供帮助
Redis 核心数据结构 & Redis 6 新特性详
Flask session forged hctf admin
2022-7-6 Leetcode 977. Square of ordered array
libSGM的horizontal_path_aggregation程序解读
高等数学---第八章多元函数微分学1
Data flow diagram, data dictionary
How to check the ram and ROM usage of MCU through Keil
随机推荐
FC连接数据库,一定要使用自定义域名才能在外面访问吗?
Parameter keywords final, flags, internal, mapping keywords internal
[untitled]
Horizontal of libsgm_ path_ Interpretation of aggregation program
参数关键字Final,Flags,Internal,映射关键字Internal
Parsing of XML files
Selenium库
股票开户首选,炒股交易开户佣金最低网上开户安全吗
接口自动化测试-接口间数据依赖问题解决
Dry goods | summarize the linkage use of those vulnerability tools
docker部署oracle
高等数学---第八章多元函数微分学1
call undefined function openssl_ cipher_ iv_ length
【日常训练】648. 单词替换
Hands on Teaching: XML modeling
Flask session forged hctf admin
Cesium 已知一点经纬度和距离求另一个点的经纬度
Evolution of customer service hotline of dewu
[high frequency interview questions] difficulty 2.5/5, simple combination of DFS trie template level application questions
2022-7-6 初学redis(一)在 Linux 下下载安装并运行 redis