SQL statement for Deleting
From: Mikko Rusama <mikkohr_at_evitech.evitech.fi>
Date: 1996/07/25
Message-ID: <31F800A3.3BDD_at_evitech.evitech.fi>#1/1
Date: 1996/07/25
Message-ID: <31F800A3.3BDD_at_evitech.evitech.fi>#1/1
I have created two databases USERS and ORDER:
USERS have the following tables:
and the ORDER has:
So ORDER is dependent on the USERS database
When I try to delete from the USERS database user which exists also in
the HOBBBY, error message : ORA-02292: integrity constraint violated -
child record found.
So I have to delete that particular user from the HOBBY database in
login , primary key
fullname
num
login
orderno
where foreign key(login) references users
Is there SQL statement that also deletes particular user from all the child databases.
Thanks for help! Received on Thu Jul 25 1996 - 00:00:00 CEST