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

11 lines
234 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` PROCEDURE `vn`.`ticketCollection_get`(vTicketFk INT)
BEGIN
SELECT tc.collectionFk
FROM vn.ticketCollection tc
WHERE ticketFk = vTicketFk;
END$$
DELIMITER ;