12 lines
200 B
MySQL
12 lines
200 B
MySQL
|
DELIMITER $$
|
||
|
CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`routeSetOk`(
|
||
|
vRouteFk INT)
|
||
|
BEGIN
|
||
|
|
||
|
UPDATE vn.route r
|
||
|
SET r.isOk = 1
|
||
|
WHERE r.id = vRouteFk;
|
||
|
|
||
|
END$$
|
||
|
DELIMITER ;
|