Introductie tot relationele databases in SQL
Timo Grossenbacher
Data Journalist
Referentiële integriteit van tabel A naar tabel B wordt geschonden...
CREATE TABLE a (
id integer PRIMARY KEY,
column_a varchar(64),
...,
b_id integer REFERENCES b (id) ON DELETE NO ACTION
);
CREATE TABLE a (
id integer PRIMARY KEY,
column_a varchar(64),
...,
b_id integer REFERENCES b (id) ON DELETE CASCADE
);
ON DELETE...
Introductie tot relationele databases in SQL