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

11 lines
240 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`ticketClon`(vTicketFk INT, vNewShipped DATE)
BEGIN
2024-03-12 08:34:12 +00:00
DECLARE vNewTicketFk INT;
CALL ticket_cloneAll(vTicketFk, vNewShipped, TRUE, vNewTicketFk);
2024-03-12 08:34:12 +00:00
END$$
DELIMITER ;