在 SQL/Oracle 级联

On cascade in SQL/Oracle

如何在 Oracle 中执行 on Update Cascade?我读到这是不可能的。在 mysql 或 plsql 中是允许的。但是如何在 Oracle 中实现相同的功能?

示例:

create table section(
id int not null primary key );

Create table student(
id int not null primary key,
name varchar2(30),
numSec int not null,
Constraint fk_section Foreign key(numSec) references section(id) ON UPDATE CASCADE);

不可能。

Oracle 不支持更新级联。