Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

Triggers....

Hi,

Lets say, I have two tables, One is tbl_header and other one is tbL_detail. In tbl_header there is a field itm_code, in tbl_detail there is a field itm_det_code. both have relationship.

If i delete a itm_code in tbl_header it gives a constraint error. what i want is how to use the trigger in this scenario...
if i delete itm_code it should delete the item in detail table.

Please.
-Arjun
[428 byte] By [Arjun] at [2007-11-11 6:53:21]
# 1 Re: Triggers....
http://msdn.microsoft.com/library/en-us/createdb/cm_8_des_04_92ib.asp
Phil Weber at 2007-11-11 23:48:05 >