salix/db/routines/vn/triggers/roadmapStop_beforeUpdate.sql

11 lines
215 B
SQL

DELIMITER $$
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`roadmapStop_beforeUpdate`
BEFORE UPDATE ON `roadmapStop`
FOR EACH ROW
BEGIN
SET NEW.description = UCASE(NEW.description);
END$$
DELIMITER ;