salix/services/db/install/changes/1.1.0/04-orderListTax.sql

17 lines
254 B
SQL

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 ;