salix/db/routines/vn/triggers/expeditionTruck_BEFORE_UPDA...

11 lines
226 B
SQL

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