10 lines
303 B
SQL
10 lines
303 B
SQL
DELIMITER $$
|
|
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` PROCEDURE `vn`.`itemSearchShelving`(`vShelvingFk` VARCHAR(3))
|
|
BEGIN
|
|
SELECT p.`column` AS col , p.`row`
|
|
FROM vn.shelving s
|
|
JOIN parking p ON s.parkingFk = p.id
|
|
WHERE s.`code` = vShelvingFk COLLATE utf8_general_ci;
|
|
END$$
|
|
DELIMITER ;
|