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

12 lines
204 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost` PROCEDURE `vn`.`routeSetOk`(
vRouteFk INT)
BEGIN
UPDATE vn.route r
SET r.isOk = 1
WHERE r.id = vRouteFk;
END$$
DELIMITER ;