salix/db/routines/vn/procedures/agencyHourListGetShipped.sql

14 lines
372 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`agencyHourListGetShipped`(vDate DATE, vAddress INT, vAgency INT)
BEGIN
/* * DEPRECATED usar zoneGetShipped
*/
CALL vn.agencyHourGetShipped(vDate, vAddress, vAgency);
SELECT * FROM tmp.agencyHourGetShipped;
DROP TEMPORARY TABLE IF EXISTS tmp.agencyHourGetShipped;
END$$
DELIMITER ;