salix/db/routines/vn/procedures/itemPlacementSupplyCloseOrd...

11 lines
229 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`itemPlacementSupplyCloseOrder`(vId INT, vQuantity INT)
BEGIN
UPDATE vn.itemPlacementSupply
SET priority = 10
WHERE id = vId;
END$$
DELIMITER ;