11 lines
230 B
MySQL
11 lines
230 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`ticketCollection_get`(vTicketFk INT)
|
||
|
BEGIN
|
||
|
|
||
|
SELECT tc.collectionFk
|
||
|
FROM vn.ticketCollection tc
|
||
|
WHERE ticketFk = vTicketFk;
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|