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

11 lines
215 B
SQL

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