Search:     Advanced search
Browse by category:
C/C++   |   Java   |   Oracle/Database   |   SAP   |   ASP .NET   |   Mainframe-DB2   |   Freshers

Q: What is ON DELETE CASCADE ?

Add comment
Views: 1631
Votes: 6
Comments: 4
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  
Showing: 1-4 of 4  
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 .


Add comment

Others in this Category
document What are the Advantages of using CTE?
document How to copy the tables, schema and views from one SQL Server to another?
document What are the different index configurations a table can have?
document What command would you use to create a backup control file?
document What is Stored Procedure?
document How to get @@ERROR and @@ROWCOUNT at the same time?
document What is B-Tree?
document What is NOLOCK?
document What is Filestream?
document What is Replication and Database Mirroring?
» More articles



RSS