I want to create a Trigger for inserting a record for ordering a product in the purchase table automatically when Reorder level quantity is going to its minimum level in the stock table.
Trigger for inserting a record automatically in the purchase table.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jignesh KumarRank #91 · 22.9K reputationPosted Nov 22, 2022, 11:17 PM EST
Hello Sagar,
Please refer this thread which will help you out,
https://www.c-sharpcorner.com/article/trigger-in-sql-server2/
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/29e4272c-5542-4489-b956-b74168e2b548/how-to-add-order-item-into-a-purchase-order-using-a-stored-proceduretrigger?forum=transactsql
https://www.red-gate.com/simple-talk/databases/sql-server/database-administration-sql-server/sql-server-triggers-good-scary/