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

9 lines
195 B
MySQL
Raw Permalink Normal View History

DELIMITER $$
2024-08-20 08:06:10 +00:00
CREATE OR REPLACE DEFINER=`vn`@`localhost` TRIGGER `vn`.`zoneGeo_beforeInsert`
BEFORE INSERT ON `zoneGeo`
FOR EACH ROW
BEGIN
CALL zoneGeo_checkName(NEW.`name`);
END$$
DELIMITER ;