USE `hedera`; DROP procedure IF EXISTS `orderListTax`; DELIMITER $$ USE `hedera`$$ CREATE DEFINER=`root`@`%` PROCEDURE `orderListTax`(IN vOrderId INT) BEGIN CALL hedera.orderGetTax(vOrderId); SELECT * FROM tmp.orderTax; END$$ DELIMITER ;