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

17 lines
254 B
MySQL
Raw Normal View History

2018-08-06 19:00:44 +00:00
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 ;