new procedure for ticket Volumes

This commit is contained in:
Bernat 2018-04-10 13:47:17 +02:00
parent 1d0d124d03
commit 8e6b44cbc2
1 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,15 @@
USE `vn`;
DROP procedure IF EXISTS `ticketListVolume`;
DELIMITER $$
USE `vn`$$
CREATE DEFINER=`root`@`%` PROCEDURE `ticketListVolume`(IN vTicketId INT)
BEGIN
CALL vn.ticketVolume(vTicketId);
SELECT * FROM vn.ticketVolume;
END$$
DELIMITER ;