11 lines
211 B
MySQL
11 lines
211 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`sector_getWarehouse`(vSectorFk INT)
|
||
|
BEGIN
|
||
|
|
||
|
SELECT s.warehouseFk
|
||
|
FROM vn.sector s
|
||
|
WHERE s.id = vSectorFk;
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|