在 SQL/Oracle 中的级联上



如何在甲骨文中on Update Cascade?我读到这是不可能的。在 mysql 或 plsql 中是允许的。但是如何在甲骨文中做到这一点呢?

例:

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 不支持更新级联。

最新更新