G
Guest
I have the following position, in SQL server 2000:
Table: Products
Table: Orders
Table: Order Details
Orders and order details are joined thru order id and cascading for update
and delete are enabled.
Products and Order details are joined thru ItemNo.
I have a trigger on orderdetails for delete to update stock in products and
everything is working fine.
Now if I delete the order from orders table the corresponding records are
deleted from order details without updating the corresponding stock.
does anyone have answer for this.
Table: Products
Table: Orders
Table: Order Details
Orders and order details are joined thru order id and cascading for update
and delete are enabled.
Products and Order details are joined thru ItemNo.
I have a trigger on orderdetails for delete to update stock in products and
everything is working fine.
Now if I delete the order from orders table the corresponding records are
deleted from order details without updating the corresponding stock.
does anyone have answer for this.