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

14 lines
376 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`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 ;