13 lines
310 B
MySQL
13 lines
310 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`expeditionTruck_List`()
|
||
|
BEGIN
|
||
|
|
||
|
SELECT id truckFk,
|
||
|
eta,
|
||
|
description Destino
|
||
|
FROM expeditionTruck
|
||
|
WHERE eta BETWEEN util.VN_CURDATE() AND util.dayend(util.VN_CURDATE())
|
||
|
ORDER BY eta;
|
||
|
END$$
|
||
|
DELIMITER ;
|