i have a table in MS SQL with following collumns.
Table name - ITEMS
Columns - ITEM_ID,ITEM_NAME,QTY,UNIT_PRICE
i want to send a sms when a certain item QTY
decreased to 50 from C# windows application.
So i have written a trigger.
CREATE TRIGGER LOW_STOCK AFTER UPDATE OF QTY ON ITEM REFERENCING NEW AS N FOR EACH ROW WHEN (N.QTY<50) SIGNAL SQLSTATE '75000' SET MESSAGE_TEXT='LOW QTY' i want to pass the low stock ITEM_ID s to the windows app.What can i do??Please help me.Thank u very much.
Pass sql trigger values to windows application
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

brunda kRank #3,804 · 389 reputationPosted Feb 27, 2013, 10:19 PM EST