salix/db/routines/vn/procedures/createPedidoInterno.sql

10 lines
211 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`createPedidoInterno`(vItemFk INT,vQuantity INT)
BEGIN
UPDATE vn.item SET upToDown = vQuantity WHERE id = vItemFk;
END$$
DELIMITER ;