+ 1

sql trigger

The system should be able to reorder items that are out of stock. I have a table called product and a column in it called Stock Count. i want to make a trigger that when the stock is zero for a product, the system must order an item. Could someone help me.

6th May 2017, 7:54 PM
Mogammad Shameer Losper
Mogammad Shameer Losper - avatar
2 Respuestas
+ 1
you can use update trigger to check if stock > 0
6th May 2017, 8:07 PM
Oliver
6th May 2017, 8:11 PM
Oliver