I have a table hotel and table reservation.
In the reservation table I have the primary key of the hotel table as the foreign key.
I can not truncate because there are relationships between braces. How can I do it?
I already did:
truncate table hospede on delete cascade;
But I can not.
Just remember that fk is with on delete cascade
. And I use the 11g express edition.