Answer the question
In order to leave comments, you need to log in
How to create a trigger to add if there is something to update???
How the trigger works:
If we add the value "NameProduct" and "Kolichestvo" to the "Postavka" table, then in the "Sklad" table:
if not ,
then add the line "NameProduct" and "Kolichestvo"
if there is,
then update the line "NameProduct" and "Kolichestvo" .
How it is more correct to implement the trigger???
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question