| Home / Oracle / Database / Q: What is ON DELETE CASCADE ? |
Q: What is ON DELETE CASCADE ? |
||||
A: When ON DELETE CASCADE is specified ORACLE maintains referential integrity by automatically removing dependent foreign key values if a referenced primary or unique key value is removed
|
||||
Comments
|
24 May, 2008
|
ravinder
|
|
genaraly on delete cascade commend is used to delete records at time in parant and child tables |
|
24 May, 2008
|
ravinder
|
|
i think on delete casecade commend is used remove table along with date at time |
|
09 May, 2008
|
sathish.devireddy
|
|
on delete cascade means suppose we r having the tables student(s-id,cource,s-name,.......) ,library(s-id,books).student table having the primary key& related forien in library table.based on the forien key librarian issues books to the students.if u delete record in student table automatically corosponding record will be deleted in the library table . |
|
09 May, 2008
|
sathish.devireddy
|
|
on delete cascade means suppose we r having the tables student(s-id,cource,s-name,.......) ,library(s-id,books).student table having the primary key& related forien in library table.based on the forien key librarian issues books to the students.if u delete record in student table automatically corosponding record will be deleted in the library table . |
Powered by
KBPublisher (Knowledge base software)
