salix/db/routines/srt/triggers/expedition_BU.sql

11 lines
196 B
MySQL
Raw Normal View History

DELIMITER $$
CREATE OR REPLACE DEFINER=`root`@`localhost` TRIGGER `srt`.`expedition_BU`
BEFORE UPDATE ON `expedition`
FOR EACH ROW
BEGIN
SET NEW.updated = util.VN_NOW();
END$$
DELIMITER ;