Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How to write trigger for ON_DELETE_CASCADE?
Hello Experts
I am new in Sql triggers and i would like some help
I have a Table called ITEM and another callded SOURCE
[ITEM]
ItemNo,ItemName,SourceNo
[Source]
SourceNo,Source
i want to create a Trigger so when i delete a record from [SOURCE] all the records in [ITEM] where item.SourceNo = [SourceNo that I deleted from SOURCE] will be deleted.
How can i do that?
Regards,
Ajay Sonawane
(Webtech Developers Pvt. Ltd. Pune )
Received on Thu Jun 16 2005 - 00:31:49 CDT
![]() |
![]() |