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