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

10 lines
215 B
MySQL
Raw Normal View History

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